Simple Fixes #114
Annotations
10 errors and 1 warning
|
Ruff (RUF100):
algobattle/problem.py#L247
algobattle/problem.py:247:20: RUF100 Unused `noqa` directive (non-enabled: `D107`)
|
|
Ruff (RUF100):
algobattle/problem.py#L233
algobattle/problem.py:233:20: RUF100 Unused `noqa` directive (non-enabled: `D107`)
|
|
Ruff (RUF100):
algobattle/problem.py#L80
algobattle/problem.py:80:93: RUF100 Unused `noqa` directive (non-enabled: `D102`)
|
|
Ruff (PYI059):
algobattle/problem.py#L75
algobattle/problem.py:75:15: PYI059 `Generic[]` should always be the last base class
|
|
Ruff (UP035):
algobattle/problem.py#L9
algobattle/problem.py:9:1: UP035 Import from `collections.abc` instead: `Callable`
|
|
Ruff (I001):
algobattle/problem.py#L2
algobattle/problem.py:2:1: I001 Import block is un-sorted or un-formatted
|
|
Ruff (RUF012):
algobattle/battle.py#L714
algobattle/battle.py:714:39: RUF012 Mutable class attributes should be annotated with `typing.ClassVar`
|
|
Ruff (RUF012):
algobattle/battle.py#L712
algobattle/battle.py:712:42: RUF012 Mutable class attributes should be annotated with `typing.ClassVar`
|
|
Ruff (RUF012):
algobattle/battle.py#L710
algobattle/battle.py:710:32: RUF012 Mutable class attributes should be annotated with `typing.ClassVar`
|
|
Ruff (RUF012):
algobattle/battle.py#L708
algobattle/battle.py:708:29: RUF012 Mutable class attributes should be annotated with `typing.ClassVar`
|
|
lint
Could not parse version from /home/runner/work/algobattle/algobattle/pyproject.toml. Using latest version.
|