Fix some language in messages, comments, and docstrings #11
Annotations
10 errors and 1 warning
Run jakebailey/pyright-action@v2:
patroni/ha.py#L287
Return type, "dict[str, str] | dict[str, Any | list[str]] | dict[Unknown, Unknown] | Any | None", is partially unknown (reportUnknownParameterType)
|
Run jakebailey/pyright-action@v2:
patroni/ha.py#L289
Type of "get_active_standby_config" is partially unknown
Type of "get_active_standby_config" is "(() -> (dict[str, str] | dict[str, Any | list[str]] | None)) | (() -> (dict[Unknown, Unknown] | None))" (reportUnknownMemberType)
|
Run jakebailey/pyright-action@v2:
patroni/ha.py#L289
Return type, "dict[str, str] | dict[str, Any | list[str]] | dict[Unknown, Unknown] | None", is partially unknown (reportUnknownVariableType)
|
Run jakebailey/pyright-action@v2:
patroni/ha.py#L364
Argument missing for parameter "leader" (reportCallIssue)
|
Run jakebailey/pyright-action@v2:
patroni/ha.py#L567
Type of "create_replica_methods" is partially unknown
Type of "create_replica_methods" is "Any | list[str] | str | Unknown | None" (reportUnknownVariableType)
|
Run jakebailey/pyright-action@v2:
patroni/ha.py#L567
Type of "get" is partially unknown
Type of "get" is "Overload[(key: str, /) -> (str | None), (key: str, default: str, /) -> str, (key: str, default: _T@get, /) -> (str | _T@get)] | Overload[(key: str, /) -> (Any | list[str] | None), (key: str, default: Any | list[str], /) -> (Any | list[str]), (key: str, default: _T@get, /) -> (Any | list[str] | _T@get)] | Overload[(key: Unknown, /) -> (Unknown | None), (key: Unknown, default: Unknown, /) -> Unknown, (key: Unknown, default: _T@get, /) -> (Unknown | _T@get)] | Any" (reportUnknownMemberType)
|
Run jakebailey/pyright-action@v2:
patroni/ha.py#L567
"get" is not a known attribute of "None" (reportOptionalMemberAccess)
|
Run jakebailey/pyright-action@v2:
patroni/ha.py#L569
Argument of type "Any | list[str] | str | Unknown | None" cannot be assigned to parameter "replica_methods" of type "List[str] | None" in function "can_create_replica_without_replication_connection"
Type "Any | list[str] | str | Unknown | None" is not assignable to type "List[str] | None"
Type "str" is not assignable to type "List[str] | None"
"str" is not assignable to "List[str]"
"str" is not assignable to "None" (reportArgumentType)
|
Run jakebailey/pyright-action@v2:
patroni/ha.py#L742
Type of "standby_config" is partially unknown
Type of "standby_config" is "dict[str, str] | dict[str, Any | list[str]] | dict[Unknown, Unknown] | Any | None" (reportUnknownVariableType)
|
Run jakebailey/pyright-action@v2:
patroni/ha.py#L743
Object of type "None" is not subscriptable (reportOptionalSubscript)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading