Skip to content

Lint code

Lint code #153

Triggered via pull request June 26, 2024 19:23
Status Failure
Total duration 49s
Artifacts

lint.yml

on: pull_request
Get changed files
9s
Get changed files
Check formatting
23s
Check formatting
Check linting
21s
Check linting
Check types with mypy
16s
Check types with mypy
Check docs
0s
Check docs
Fit to window
Zoom out
Zoom in

Annotations

11 errors
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#L164
Incompatible types in assignment (expression has type "Union[str, bytes]", variable has type "bytes")
Check types with mypy: beets/util/__init__.py#L178
Need type annotation for "out" (hint: "out: List[<type>] = ...")
Check types with mypy: beets/util/__init__.py#L195
Missing type parameters for generic type "Sequence"
Check types with mypy: beets/util/__init__.py#L198
Missing type parameters for generic type "Tuple"
Check types with mypy: beets/util/__init__.py#L205
Incompatible types in assignment (expression has type "bytes", variable has type "str")
Check types with mypy: beets/util/__init__.py#L230
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#L238
No overload variant of "join" matches argument types "str", "bytes"
Check types with mypy: beets/util/__init__.py#L252
No overload variant of "join" matches argument types "str", "bytes"
Check linting
The process '/opt/pipx_bin/poe' failed with exit code 1