Lint code #360
lint.yml
on: pull_request
Get changed files
13s
Check formatting
18s
Check linting
17s
Check types with mypy
23s
Check docs
0s
Annotations
12 errors
Ruff (F401):
test/plugins/test_player.py#L35
test/plugins/test_player.py:35:32: F401 `beets.test._common.platform_windows` imported but unused
|
Check linting
Process completed with exit code 1.
|
Check types with mypy:
beets/util/pipeline.py#L86
Missing type parameters for generic type "Queue"
|
Check types with mypy:
beets/util/__init__.py#L171
Incompatible types in assignment (expression has type "str", variable has type "bytes")
|
Check types with mypy:
beets/util/__init__.py#L185
Need type annotation for "out" (hint: "out: List[<type>] = ...")
|
Check types with mypy:
beets/util/__init__.py#L202
Missing type parameters for generic type "Sequence"
|
Check types with mypy:
beets/util/__init__.py#L205
Missing type parameters for generic type "Tuple"
|
Check types with mypy:
beets/util/__init__.py#L212
Incompatible types in assignment (expression has type "bytes", variable has type "str")
|
Check types with mypy:
beets/util/__init__.py#L229
Incompatible types in assignment (expression has type "bytes", variable has type "str")
|
Check types with mypy:
beets/util/__init__.py#L245
No overload variant of "join" matches argument types "bytes", "str"
|
Check types with mypy:
beets/util/__init__.py#L246
Argument 1 to "is_hidden" has incompatible type "str"; expected "Union[bytes, Path]"
|
Check types with mypy:
beets/util/__init__.py#L253
Argument "key" to "sort" of "list" has incompatible type "Callable[[bytes], bytes]"; expected "Callable[[str], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]]"
|