Skip to content

Fix some language in messages, comments, and docstrings #11

Fix some language in messages, comments, and docstrings

Fix some language in messages, comments, and docstrings #11

Triggered via pull request January 7, 2025 13:21
Status Failure
Total duration 15m 12s
Artifacts

tests.yaml

on: pull_request
Matrix: behave
Matrix: unit
pyright
32s
pyright
Test compatibility with the latest version of ydiff
22s
Test compatibility with the latest version of ydiff
docs
1m 55s
docs
isort
18s
isort
Finalize Codacy
0s
Finalize Codacy
Finalize coveralls.io
7s
Finalize coveralls.io
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 24 warnings
pyright: patroni/ha.py#L287
Return type, "dict[str, str] | dict[str, Any | list[str]] | dict[Unknown, Unknown] | Any | None", is partially unknown (reportUnknownParameterType)
pyright: 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)
pyright: patroni/ha.py#L289
Return type, "dict[str, str] | dict[str, Any | list[str]] | dict[Unknown, Unknown] | None", is partially unknown (reportUnknownVariableType)
pyright: patroni/ha.py#L364
Argument missing for parameter "leader" (reportCallIssue)
pyright: 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)
pyright: 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)
pyright: patroni/ha.py#L567
"get" is not a known attribute of "None" (reportOptionalMemberAccess)
pyright: 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)
pyright: 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)
pyright: patroni/ha.py#L743
Object of type "None" is not subscriptable (reportOptionalSubscript)
docs
Process completed with exit code 255.
unit (macos)
[notice] A new release of pip is available: 21.1.1 -> 24.3.1 [notice] To update, run: python3.8 -m pip install --upgrade pip
behave (macos, 3.8, raft)
[notice] A new release of pip is available: 21.1.1 -> 24.3.1 [notice] To update, run: python3.8 -m pip install --upgrade pip
isort
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test compatibility with the latest version of ydiff
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
pyright
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
docs
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
unit (ubuntu)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
behave (macos, 3.11, etcd3)
expect 5.45.4_3 is already installed and up-to-date. To reinstall 5.45.4_3, run: brew reinstall expect
behave (ubuntu, 3.7, etcd)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
behave (macos, 3.9, etcd)
expect 5.45.4_3 is already installed and up-to-date. To reinstall 5.45.4_3, run: brew reinstall expect
behave (ubuntu, 3.7, consul)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
behave (ubuntu, 3.7, exhibitor)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
behave (ubuntu, 3.12, etcd)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
behave (ubuntu, 3.7, kubernetes)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
behave (ubuntu, 3.7, etcd3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
behave (macos, 3.8, raft)
expect 5.45.4_3 is already installed and up-to-date. To reinstall 5.45.4_3, run: brew reinstall expect
behave (ubuntu, 3.12, etcd3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
behave (ubuntu, 3.12, kubernetes)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
behave (ubuntu, 3.12, raft)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Finalize Codacy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
behave (ubuntu, 3.7, exhibitor)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
behave (ubuntu, 3.12, consul)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Finalize coveralls.io
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Finalize coveralls.io
The `python-version` input is not set. The version of Python currently in `PATH` will be used.
behave (ubuntu, 3.12, exhibitor)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
behave (ubuntu, 3.7, raft)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636