mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-03-13 09:50:19 +08:00
[pre-commit.ci] pre-commit autoupdate (#7387)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/asottile/pyupgrade: v3.0.0 → v3.1.0](https://github.com/asottile/pyupgrade/compare/v3.0.0...v3.1.0) - [github.com/codespell-project/codespell: v2.2.1 → v2.2.2](https://github.com/codespell-project/codespell/compare/v2.2.1...v2.2.2) * updating DIRECTORY.md * Fix typo discovered by codespell * Fix typo discovered by codespell * Update .pre-commit-config.yaml * Update .pre-commit-config.yaml * Update .pre-commit-config.yaml Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Co-authored-by: Christian Clauss <cclauss@me.com>
This commit is contained in:
committed by
GitHub
parent
a34b756fd4
commit
0c7c5fa7b0
@@ -15,7 +15,7 @@ def is_square_free(factors: list[int]) -> bool:
|
||||
False
|
||||
|
||||
These are wrong but should return some value
|
||||
it simply checks for repition in the numbers.
|
||||
it simply checks for repetition in the numbers.
|
||||
>>> is_square_free([1, 3, 4, 'sd', 0.0])
|
||||
True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user