Skip to content

Lint code

Lint code #208

Triggered via pull request July 18, 2024 11:42
Status Success
Total duration 51s
Artifacts

lint.yml

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

Annotations

10 errors and 1 warning
Check types with mypy: beets/util/__init__.py#L168
Incompatible types in assignment (expression has type "str", variable has type "bytes")
Check types with mypy: beets/util/__init__.py#L182
Need type annotation for "out" (hint: "out: List[<type>] = ...")
Check types with mypy: beets/util/__init__.py#L199
Missing type parameters for generic type "Sequence"
Check types with mypy: beets/util/__init__.py#L202
Missing type parameters for generic type "Tuple"
Check types with mypy: beets/util/__init__.py#L209
Incompatible types in assignment (expression has type "bytes", variable has type "str")
Check types with mypy: beets/util/__init__.py#L226
Incompatible types in assignment (expression has type "bytes", variable has type "str")
Check types with mypy: beets/util/__init__.py#L242
No overload variant of "join" matches argument types "bytes", "str"
Check types with mypy: beets/util/__init__.py#L243
Argument 1 to "is_hidden" has incompatible type "str"; expected "Union[bytes, Path]"
Check types with mypy: beets/util/__init__.py#L250
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#L251
Argument "key" to "sort" of "list" has incompatible type "Callable[[bytes], bytes]"; expected "Callable[[str], Union[SupportsDunderLT[Any], SupportsDunderGT[Any]]]"
Get changed files
Unable to find merge base between 1163645604fa50cecc55132b2523209738ae164f and a8194b86f0767847133e129d84560dbeea4978e5