Skip to content

Lint code

Lint code #76

Triggered via pull request June 15, 2024 07:36
Status Failure
Total duration 52s
Artifacts

lint.yml

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

Annotations

13 errors
Check linting: test/plugins/test_aura.py#L1
'os' imported but unused
Check linting: test/plugins/test_smartplaylist.py#L217
undefined name 'os'
Check linting
The process '/opt/pipx_bin/poe' failed with exit code 1
Check types with mypy: beets/util/__init__.py#L160
Incompatible types in assignment (expression has type "Union[str, bytes]", variable has type "bytes")
Check types with mypy: beets/util/__init__.py#L174
Need type annotation for "out" (hint: "out: List[<type>] = ...")
Check types with mypy: beets/util/__init__.py#L191
Missing type parameters for generic type "Sequence"
Check types with mypy: beets/util/__init__.py#L194
Missing type parameters for generic type "Tuple"
Check types with mypy: beets/util/__init__.py#L201
Incompatible types in assignment (expression has type "bytes", variable has type "str")
Check types with mypy: beets/util/__init__.py#L226
If x = b'abc' then f"{x}" or "{}".format(x) produces "b'abc'", not "abc". If this is desired behavior, use f"{x!r}" or "{!r}".format(x). Otherwise, decode the bytes
Check types with mypy: beets/util/__init__.py#L234
No overload variant of "join" matches argument types "str", "bytes"
Check types with mypy: beets/util/__init__.py#L248
No overload variant of "join" matches argument types "str", "bytes"
Check types with mypy: beets/util/__init__.py#L301
Incompatible types in assignment (expression has type "bytes", variable has type "str")
Check types with mypy: beets/util/__init__.py#L301
Argument 1 to "normpath" has incompatible type "str"; expected "bytes"