Lint code #609
lint.yml
on: pull_request
Get changed files
12s
Check formatting
9s
Check linting
17s
Check types with mypy
13s
Check docs
0s
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>] = ...")
|