Lint code #315
lint.yml
on: pull_request
Get changed files
9s
Check formatting
14s
Check linting
15s
Check types with mypy
24s
Check docs
29s
Annotations
13 errors
Check linting:
test/plugins/test_lyrics.py#L388
line too long (90 > 88 characters)
|
Check linting:
test/plugins/test_lyrics.py#L410
line too long (105 > 88 characters)
|
Check linting
The process '/opt/pipx_bin/poe' failed with exit code 1
|
Check types with mypy:
beets/logging.py#L140
Name "getLogger" already defined (possibly by an import)
|
Check types with mypy:
beets/util/pipeline.py#L87
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]"
|