Skip to content

Lint code

Lint code #590

Triggered via pull request November 23, 2024 02:07
@snejussnejus
synchronize #5508
drop-py38
Status Failure
Total duration 1m 29s
Artifacts

lint.yml

on: pull_request
Get changed files
10s
Get changed files
Check formatting
10s
Check formatting
Check linting
15s
Check linting
Check types with mypy
20s
Check types with mypy
Check docs
25s
Check docs
Fit to window
Zoom out
Zoom in

Annotations

13 errors
Ruff (E501): test/plugins/test_advancedrewrite.py#L103
test/plugins/test_advancedrewrite.py:103:89: E501 Line too long (92 > 88)
Check linting
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".