Skip to content

Lint code

Lint code #9

Triggered via pull request June 7, 2024 20:52
Status Failure
Total duration 31s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 1 warning
typing: beets/logging.py#L140
Name "getLogger" already defined (possibly by an import)
typing: beets/util/pipeline.py#L87
Missing type parameters for generic type "Queue"
typing: beets/util/__init__.py#L160
Incompatible types in assignment (expression has type "Union[str, bytes]", variable has type "bytes")
typing: beets/util/__init__.py#L174
Need type annotation for "out" (hint: "out: List[<type>] = ...")
typing: beets/util/__init__.py#L191
Missing type parameters for generic type "Sequence"
typing: beets/util/__init__.py#L194
Missing type parameters for generic type "Tuple"
typing: beets/util/__init__.py#L201
Incompatible types in assignment (expression has type "bytes", variable has type "str")
typing: 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
typing: beets/util/__init__.py#L234
No overload variant of "join" matches argument types "str", "bytes"
typing: beets/util/__init__.py#L248
No overload variant of "join" matches argument types "str", "bytes"
lint
The process '/opt/pipx_bin/poe' failed with exit code 1
docs
Unexpected input(s) 'run', valid inputs are ['']