Skip to content

Lint code

Lint code #265

Triggered via pull request August 26, 2024 14:36
Status Success
Total duration 53s
Artifacts

lint.yml

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

Annotations

10 errors
Check types with mypy: beets/util/__init__.py#L169
Incompatible types in assignment (expression has type "str", variable has type "bytes")
Check types with mypy: beets/util/__init__.py#L183
Need type annotation for "out" (hint: "out: List[<type>] = ...")
Check types with mypy: beets/util/__init__.py#L200
Missing type parameters for generic type "Sequence"
Check types with mypy: beets/util/__init__.py#L203
Missing type parameters for generic type "Tuple"
Check types with mypy: beets/util/__init__.py#L210
Incompatible types in assignment (expression has type "bytes", variable has type "str")
Check types with mypy: beets/util/__init__.py#L227
Incompatible types in assignment (expression has type "bytes", variable has type "str")
Check types with mypy: beets/util/__init__.py#L243
No overload variant of "join" matches argument types "bytes", "str"
Check types with mypy: beets/util/__init__.py#L244
Argument 1 to "is_hidden" has incompatible type "str"; expected "Union[bytes, Path]"
Check types with mypy: beets/util/__init__.py#L251
Argument "key" to "sort" of "list" has incompatible type "Callable[[bytes], bytes]"; expected "Callable[[str], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]]"
Check types with mypy: beets/util/__init__.py#L252
Argument "key" to "sort" of "list" has incompatible type "Callable[[bytes], bytes]"; expected "Callable[[str], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]]"