mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-09-29 17:08:49 +08:00
Fix a few typos (#13346)
* Fix typo in spheres intersection print statement * Fix typo in CONTRIBUTING.md * Improve comments in comb_sort.py * pyproject.toml: tool.ruff.target-version = "py314" * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix comment formatting in lint.ignore section --------- Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
Christian Clauss
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
parent
85e67302d8
commit
3cea94179d
+4
-4
@@ -3,10 +3,9 @@ name = "thealgorithms-python"
|
||||
version = "0.0.1"
|
||||
description = "TheAlgorithms in Python"
|
||||
authors = [ { name = "TheAlgorithms Contributors" } ]
|
||||
requires-python = ">=3.13"
|
||||
requires-python = ">=3.14"
|
||||
classifiers = [
|
||||
"Programming Language :: Python :: 3 :: Only",
|
||||
"Programming Language :: Python :: 3.13",
|
||||
]
|
||||
dependencies = [
|
||||
"beautifulsoup4>=4.12.3",
|
||||
@@ -49,7 +48,7 @@ euler-validate = [
|
||||
]
|
||||
|
||||
[tool.ruff]
|
||||
target-version = "py313"
|
||||
target-version = "py314"
|
||||
|
||||
output-format = "full"
|
||||
lint.select = [
|
||||
@@ -110,7 +109,7 @@ lint.ignore = [
|
||||
# `ruff rule S101` for a description of that rule
|
||||
"B904", # Within an `except` clause, raise exceptions with `raise ... from err` -- FIX ME
|
||||
"B905", # `zip()` without an explicit `strict=` parameter -- FIX ME
|
||||
"EM101", # Exception must not use a string literal, assign to variable first
|
||||
"EM101", # Exception must not use a string literal, assign to a variable first
|
||||
"EXE001", # Shebang is present but file is not executable -- DO NOT FIX
|
||||
"G004", # Logging statement uses f-string
|
||||
"ISC001", # Conflicts with ruff format -- DO NOT FIX
|
||||
@@ -126,6 +125,7 @@ lint.ignore = [
|
||||
"S311", # Standard pseudo-random generators are not suitable for cryptographic purposes -- FIX ME
|
||||
"SIM905", # Consider using a list literal instead of `str.split` -- DO NOT FIX
|
||||
"SLF001", # Private member accessed: `_Iterator` -- FIX ME
|
||||
"UP037", # FIX ME
|
||||
]
|
||||
|
||||
lint.per-file-ignores."data_structures/hashing/tests/test_hash_map.py" = [
|
||||
|
||||
Reference in New Issue
Block a user