Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion dissect/util/compression/lzfse.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,6 @@ def _decode_lmd(

lit = io.BytesIO(bytes(literals))

# ruff: noqa: N806
L = 0
M = 0
D = None
Expand Down
1 change: 0 additions & 1 deletion dissect/util/compression/lzvn.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ def decompress(src: bytes | BinaryIO) -> bytes:

opc_len = 0

# ruff: noqa: N806
L = None
M = None
D = 0
Expand Down
2 changes: 1 addition & 1 deletion dissect/util/cpio.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def _swap16(value: int) -> int:
return ((value & 0xFF) << 8) | (value >> 8)


def CpioFile(*args, **kwargs) -> tarfile.TarFile: # noqa: N802
def CpioFile(*args, **kwargs) -> tarfile.TarFile:
"""Utility wrapper around ``tarfile.TarFile`` to easily open cpio archives."""
kwargs.setdefault("format", FORMAT_CPIO_UNKNOWN)
return tarfile.TarFile(*args, **kwargs, tarinfo=CpioInfo)
Expand Down
2 changes: 1 addition & 1 deletion dissect/util/xmemoryview.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def xmemoryview(view: bytes, format: str) -> memoryview | _xmemoryview:
return _xmemoryview(view, format)


class _xmemoryview: # noqa: N801
class _xmemoryview:
"""Wrapper for memoryview that converts between host and a different destination endianness.

Args:
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ select = [
"E",
"W",
"I",
"N",
"UP",
"YTT",
"ANN",
Expand Down
Loading