Update lint
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user