Skip to content

style: add pyright #2639

style: add pyright

style: add pyright #2639

Triggered via pull request February 16, 2025 20:00
@trim21trim21
synchronize #526
pyright
Status Failure
Total duration 25s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
pyright: docs/conf.py#L10
Stub file not found for "sphinx_github_style.utils.linkcode" (reportMissingTypeStubs)
pyright: docs/conf.py#L10
Type of "get_linkcode_resolve" is partially unknown   Type of "get_linkcode_resolve" is "(linkcode_url: str, repo_dir: Path | None = None) -> ((...) -> Unknown)" (reportUnknownVariableType)
pyright: docs/conf.py#L131
Type of "linkcode_resolve" is partially unknown   Type of "linkcode_resolve" is "(...) -> Unknown" (reportUnknownVariableType)
pyright: transmission_rpc/_unix_socket.py#L13
"_TYPE_SOCKET_OPTIONS" is private and used outside of the module in which it is declared (reportPrivateUsage)
pyright: transmission_rpc/_unix_socket.py#L14
"_DEFAULT_TIMEOUT" is private and used outside of the module in which it is declared (reportPrivateUsage)
pyright: transmission_rpc/client.py#L29
"_try_read_torrent" is private and used outside of the module in which it is declared (reportPrivateUsage)
pyright: transmission_rpc/client.py#L73
Unnecessary isinstance call; "str" is always an instance of "str" (reportUnnecessaryIsInstance)
pyright: transmission_rpc/client.py#L90
Argument type is unknown   Argument corresponds to parameter "raw_torrent_id" in function "_parse_torrent_id" (reportUnknownArgumentType)
pyright: transmission_rpc/client.py#L90
Type of "item" is unknown (reportUnknownVariableType)
pyright: transmission_rpc/client.py#L124
Unnecessary isinstance call; "Logger" is always an instance of "Logger" (reportUnnecessaryIsInstance)
pyright
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.
sphinx
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists