Skip to content

Lint code

Lint code #530

Triggered via pull request October 30, 2024 19:23
@snejussnejus
synchronize #5452
Status Failure
Total duration 46s
Artifacts

lint.yml

on: pull_request_target
Get changed files
6s
Get changed files
Check formatting
16s
Check formatting
Check linting
9s
Check linting
Check types with mypy
17s
Check types with mypy
Check docs
23s
Check docs
Fit to window
Zoom out
Zoom in

Annotations

15 errors
Ruff (W293): beetsplug/convert.py#L95
beetsplug/convert.py:95:1: W293 Blank line contains whitespace
Ruff (I001): test/plugins/test_convert.py#L16
test/plugins/test_convert.py:16:1: I001 Import block is un-sorted or un-formatted
Check linting
Process completed with exit code 1.
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#L795
Incompatible types in assignment (expression has type "str", variable has type "bytes")
Check types with mypy: beets/util/__init__.py#L798
Argument 4 to "_legalize_stage" has incompatible type "bytes"; expected "str"
Check types with mypy: beets/util/__init__.py#L806
Argument 4 to "_legalize_stage" has incompatible type "bytes"; expected "str"
Check types with mypy: beets/util/__init__.py#L813
Argument 4 to "_legalize_stage" has incompatible type "bytes"; expected "str"
Check types with mypy: beets/dbcore/query.py#L306
Missing type parameters for generic type "Pattern"
Check types with mypy: beets/dbcore/query.py#L468
Missing type parameters for generic type "Sequence"
Check types with mypy: beets/dbcore/query.py#L479
Missing type parameters for generic type "Iterator"
Check types with mypy: beets/dbcore/query.py#L528
Missing type parameters for generic type "FieldQuery"
Check types with mypy: beets/dbcore/query.py#L566
Missing type parameters for generic type "MutableSequence"
Check docs
ERROR: Unknown target name: "requests_mock".