style: add pyright #2636
Annotations
4 errors and 2 warnings
Run jakebailey/pyright-action@v2:
tests/conftest.py#L37
Argument of type "str" cannot be assigned to parameter "protocol" of type "Literal['http', 'https', 'http+unix']" in function "__init__"
Type "str" is not assignable to type "Literal['http', 'https', 'http+unix']"
"str" is not assignable to type "Literal['http']"
"str" is not assignable to type "Literal['https']"
"str" is not assignable to type "Literal['http+unix']" (reportArgumentType)
|
Run jakebailey/pyright-action@v2:
tests/test_client.py#L189
Argument of type "Literal['something']" cannot be assigned to parameter "logger" of type "Logger" in function "__init__"
"Literal['something']" is not assignable to "Logger" (reportArgumentType)
|
Run jakebailey/pyright-action@v2:
tests/test_torrent.py#L80
Argument of type "timedelta | None" cannot be assigned to parameter "delta" of type "timedelta" in function "format_timedelta"
Type "timedelta | None" is not assignable to type "timedelta"
"None" is not assignable to "timedelta" (reportArgumentType)
|
Run jakebailey/pyright-action@v2
3 errors
|
Run astral-sh/setup-uv@v5
No file matched to [**/uv.lock,**/requirements*.txt]. The cache will never get invalidated. Make sure you have checked out the target repository and configured the cache-dependency-glob input correctly.
|
Run astral-sh/setup-uv@v5
Cache not found for keys: setup-uv-1-x86_64-unknown-linux-gnu-3.10.16-no-dependency-glob
|
Loading