Skip to content

Lint code

Lint code #380

Triggered via pull request September 20, 2024 12:56
Status Success
Total duration 58s
Artifacts

lint.yml

on: pull_request
Get changed files
13s
Get changed files
Check formatting
18s
Check formatting
Check linting
17s
Check linting
Check types with mypy
20s
Check types with mypy
Check docs
28s
Check docs
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Check types with mypy: beets/logging.py#L140
Name "getLogger" already defined (possibly by an import)
Check types with mypy: beets/util/pipeline.py#L87
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"