[pre-commit.ci] pre-commit autoupdate (#11417)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.4 → v0.4.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.4...v0.4.5) - [github.com/codespell-project/codespell: v2.2.6 → v2.3.0](https://github.com/codespell-project/codespell/compare/v2.2.6...v2.3.0) - [github.com/tox-dev/pyproject-fmt: 2.1.1 → 2.1.3](https://github.com/tox-dev/pyproject-fmt/compare/2.1.1...2.1.3) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * iterable * at most --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Christian Clauss <cclauss@me.com>
This commit is contained in:
committed by
GitHub
parent
0139143abb
commit
82aa909db7
@@ -58,7 +58,7 @@ def upf_len(num: int) -> int:
|
||||
|
||||
def equality(iterable: list) -> bool:
|
||||
"""
|
||||
Check equality of ALL elements in an interable.
|
||||
Check equality of ALL elements in an iterable
|
||||
>>> equality([1, 2, 3, 4])
|
||||
False
|
||||
>>> equality([2, 2, 2, 2])
|
||||
|
||||
Reference in New Issue
Block a user