Lint code #7
Annotations
11 errors and 3 warnings
lint
The process '/opt/pipx_bin/poe' failed with exit code 1
|
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"
|
docs
Unexpected input(s) 'run', valid inputs are ['']
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: liskin/gh-problem-matcher-wrap@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
typing
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: liskin/gh-problem-matcher-wrap@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|