Update lint

This commit is contained in:
Marko Durkovic
2022-04-11 00:07:53 +02:00
parent 7315a4ab4d
commit 19f0678645
22 changed files with 215 additions and 149 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ def save_images() -> None:
frame_id=FRAMEID,
),
format='jpeg', # could also be 'png'
data=numpy.fromfile(path, dtype=numpy.uint8), # type: ignore
data=numpy.fromfile(path, dtype=numpy.uint8),
)
writer.write(
+1 -1
View File
@@ -33,7 +33,7 @@ def save_images() -> None:
frame_id=FRAMEID,
),
format='jpeg', # could also be 'png'
data=numpy.fromfile(path, dtype=numpy.uint8), # type: ignore
data=numpy.fromfile(path, dtype=numpy.uint8),
)
writer.write(
+1 -1
View File
@@ -13,7 +13,7 @@ if TYPE_CHECKING:
NATIVE_CLASSES: dict[str, Any] = {}
def to_native(msg: Any) -> Any:
def to_native(msg: Any) -> Any: # noqa: ANN401
"""Convert rosbags message to native message.
Args: