Skip to content

Lint code

Lint code #407

Triggered via pull request September 28, 2024 21:33
Status Success
Total duration 45s
Artifacts

lint.yml

on: pull_request
Get changed files
8s
Get changed files
Check formatting
9s
Check formatting
Check linting
10s
Check linting
Check types with mypy
13s
Check types with mypy
Check docs
21s
Check docs
Fit to window
Zoom out
Zoom in

Annotations

11 errors
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 types with mypy: beets/dbcore/query.py#L911
Missing type parameters for generic type "List"
Check types with mypy: beets/dbcore/query.py#L1005
Missing type parameters for generic type "Collection"
Check types with mypy: beets/dbcore/query.py#L1064
Missing type parameters for generic type "List"
Check types with mypy: beets/library.py#L1609
Argument 1 to "normpath" has incompatible type "Union[str, Any]"; expected "bytes"
Check types with mypy: beets/library.py#L1614
Need type annotation for "_memotable" (hint: "_memotable: Dict[<type>, <type>] = ...")
Check docs
ERROR: Unknown target name: "requests_mock".