Skip to content

Lint code

Lint code #560

Triggered via pull request November 17, 2024 07:41
Status Failure
Total duration 54s
Artifacts

lint.yml

on: pull_request
Get changed files
9s
Get changed files
Check formatting
12s
Check formatting
Check linting
10s
Check linting
Check types with mypy
28s
Check types with mypy
Check docs
29s
Check docs
Fit to window
Zoom out
Zoom in

Annotations

22 errors
Ruff (I001): beets/autotag/hooks.py#L17
beets/autotag/hooks.py:17:1: I001 Import block is un-sorted or un-formatted
Ruff (I001): beets/autotag/hooks.py#L31
beets/autotag/hooks.py:31:1: I001 Import block is un-sorted or un-formatted
Ruff (I001): beets/autotag/match.py#L19
beets/autotag/match.py:19:1: I001 Import block is un-sorted or un-formatted
Ruff (I001): beets/dbcore/db.py#L17
beets/dbcore/db.py:17:1: I001 Import block is un-sorted or un-formatted
Ruff (I001): beets/dbcore/queryparse.py#L17
beets/dbcore/queryparse.py:17:1: I001 Import block is un-sorted or un-formatted
Ruff (I001): beets/dbcore/queryparse.py#L26
beets/dbcore/queryparse.py:26:1: I001 Import block is un-sorted or un-formatted
Ruff (I001): beetsplug/autobpm.py#L16
beetsplug/autobpm.py:16:1: I001 Import block is un-sorted or un-formatted
Ruff (I001): beetsplug/autobpm.py#L27
beetsplug/autobpm.py:27:1: I001 Import block is un-sorted or un-formatted
Ruff (I001): beetsplug/replaygain.py#L16
beetsplug/replaygain.py:16:1: I001 Import block is un-sorted or un-formatted
Ruff (I001): beetsplug/replaygain.py#L39
beetsplug/replaygain.py:39:1: I001 Import block is un-sorted or un-formatted
Check formatting
Process completed with exit code 1.
Check types with mypy: beets/util/pipeline.py#L86
Missing type parameters for generic type "Queue"
Check types with mypy: beets/util/__init__.py#L794
Incompatible types in assignment (expression has type "str", variable has type "bytes")
Check types with mypy: beets/util/__init__.py#L797
Argument 4 to "_legalize_stage" has incompatible type "bytes"; expected "str"
Check types with mypy: beets/util/__init__.py#L805
Argument 4 to "_legalize_stage" has incompatible type "bytes"; expected "str"
Check types with mypy: beets/util/__init__.py#L812
Argument 4 to "_legalize_stage" has incompatible type "bytes"; expected "str"
Check types with mypy: beets/dbcore/query.py#L292
Missing type parameters for generic type "Pattern"
Check types with mypy: beets/dbcore/query.py#L454
Missing type parameters for generic type "Sequence"
Check types with mypy: beets/dbcore/query.py#L465
Missing type parameters for generic type "Iterator"
Check types with mypy: beets/dbcore/query.py#L514
Missing type parameters for generic type "FieldQuery"
Check types with mypy: beets/dbcore/query.py#L552
Missing type parameters for generic type "MutableSequence"
Check docs
ERROR: Unknown target name: "requests_mock".