Skip to content

Sync main with dev

Sync main with dev #68

Triggered via push June 28, 2025 19:15
Status Success
Total duration 16s
Artifacts

lint.yml

on: push
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (PLR2004): libdestruct/common/enum/int_enum_field.py#L35
libdestruct/common/enum/int_enum_field.py:35:28: PLR2004 Magic value used in comparison, consider replacing `8` with a constant variable
Ruff (B024): libdestruct/common/attribute.py#L10
libdestruct/common/attribute.py:10:7: B024 `Attribute` is an abstract base class, but it has no abstract methods or properties
Ruff (FIX002): libdestruct/c/struct_parser.py#L189
libdestruct/c/struct_parser.py:189:7: FIX002 Line contains TODO, consider resolving the issue
Ruff (COM812): libdestruct/c/struct_parser.py#L44
libdestruct/c/struct_parser.py:44:108: COM812 Trailing comma missing
Ruff (ANN401): libdestruct/c/ctypes_generic.py#L30
libdestruct/c/ctypes_generic.py:30:44: ANN401 Dynamically typed expressions (typing.Any) are disallowed in `value`
Ruff (ANN401): libdestruct/c/ctypes_generic.py#L26
libdestruct/c/ctypes_generic.py:26:39: ANN401 Dynamically typed expressions (typing.Any) are disallowed in `get`
Ruff (RUF021): libdestruct/c/c_str.py#L43
libdestruct/c/c_str.py:43:12: RUF021 Parenthesize `a and b` expressions when chaining `and` and `or` together, to make the precedence clear
Ruff (RUF021): libdestruct/c/c_str.py#L29
libdestruct/c/c_str.py:29:12: RUF021 Parenthesize `a and b` expressions when chaining `and` and `or` together, to make the precedence clear
Ruff (RUF022): libdestruct/c/__init__.py#L10
libdestruct/c/__init__.py:10:11: RUF022 `__all__` is not sorted
Ruff (RUF022): libdestruct/__init__.py#L22
libdestruct/__init__.py:22:11: RUF022 `__all__` is not sorted