Skip to content

Lint code

Lint code #609

Triggered via pull request December 2, 2024 01:00
Status Success
Total duration 46s
Artifacts

lint.yml

on: pull_request
Get changed files
12s
Get changed files
Check formatting
9s
Check formatting
Check linting
17s
Check linting
Check types with mypy
13s
Check types with mypy
Check docs
0s
Check docs
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Check types with mypy: beets/library.py#L1079
Item "Database" of "Optional[Database]" has no attribute "directory"
Check types with mypy: beets/library.py#L1079
Item "None" of "Optional[Database]" has no attribute "directory"
Check types with mypy: beets/library.py#L1080
Item "Database" of "Optional[Database]" has no attribute "path_formats"
Check types with mypy: beets/library.py#L1080
Item "None" of "Optional[Database]" has no attribute "path_formats"
Check types with mypy: beets/library.py#L1121
Item "Database" of "Optional[Database]" has no attribute "directory"
Check types with mypy: beets/library.py#L1121
Item "None" of "Optional[Database]" has no attribute "directory"
Check types with mypy: beets/library.py#L1125
Item "Database" of "Optional[Database]" has no attribute "replacements"
Check types with mypy: beets/library.py#L1125
Item "None" of "Optional[Database]" has no attribute "replacements"
Check types with mypy: beets/library.py#L1603
Argument 1 to "normpath" has incompatible type "Union[str, Any]"; expected "bytes"
Check types with mypy: beets/library.py#L1608
Need type annotation for "_memotable" (hint: "_memotable: Dict[<type>, <type>] = ...")