Skip to content

Lint code

Lint code #388

Triggered via pull request September 22, 2024 13:37
Status Success
Total duration 45s
Artifacts

lint.yml

on: pull_request
Get changed files
8s
Get changed files
Check formatting
20s
Check formatting
Check linting
9s
Check linting
Check types with mypy
16s
Check types with mypy
Check docs
0s
Check docs
Fit to window
Zoom out
Zoom in

Annotations

10 errors
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#L309
Missing type parameters for generic type "Pattern"
Check types with mypy: beets/dbcore/query.py#L471
Missing type parameters for generic type "Sequence"
Check types with mypy: beets/dbcore/query.py#L482
Missing type parameters for generic type "Iterator"
Check types with mypy: beets/dbcore/query.py#L531
Missing type parameters for generic type "FieldQuery"
Check types with mypy: beets/dbcore/query.py#L569
Missing type parameters for generic type "MutableSequence"
Check types with mypy: beets/dbcore/query.py#L910
Missing type parameters for generic type "List"