Skip to content

Lint code

Lint code #646

Triggered via pull request December 7, 2024 16:40
Status Success
Total duration 1m 16s
Artifacts

lint.yml

on: pull_request
Get changed files
8s
Get changed files
Check formatting
11s
Check formatting
Check linting
16s
Check linting
Check types with mypy
18s
Check types with mypy
Check docs
54s
Check docs
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 5 warnings
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#L525
Missing type parameters for generic type "MutableSequence"
Check types with mypy: beets/dbcore/query.py#L870
Missing type parameters for generic type "List"
Check types with mypy: beets/dbcore/query.py#L964
Missing type parameters for generic type "Collection"
Check types with mypy: beets/dbcore/query.py#L1023
Missing type parameters for generic type "List"
Check types with mypy: beets/dbcore/db.py#L281
Missing type parameters for generic type "Type"
Check types with mypy: beets/dbcore/db.py#L291
Missing type parameters for generic type "Type"
Check types with mypy: beets/dbcore/db.py#L319
Incompatible return value type (got "Model", expected "Type[Model]")
Check docs
ERROR: Unknown target name: "requests_mock".
Get changed files
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check formatting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check types with mypy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check linting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check docs
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636