mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-25 18:38:39 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
c91bc2a528
commit
44a5ff837a
@ -1,21 +1,3 @@
|
|||||||
[tool.pytest.ini_options]
|
|
||||||
markers = [
|
|
||||||
"mat_ops: mark a test as utilizing matrix operations.",
|
|
||||||
]
|
|
||||||
addopts = [
|
|
||||||
"--durations=10",
|
|
||||||
"--doctest-modules",
|
|
||||||
"--showlocals",
|
|
||||||
]
|
|
||||||
|
|
||||||
[tool.coverage.report]
|
|
||||||
omit = [".env/*"]
|
|
||||||
sort = "Cover"
|
|
||||||
|
|
||||||
[tool.codespell]
|
|
||||||
ignore-words-list = "3rt,ans,crate,damon,fo,followings,hist,iff,kwanza,mater,secant,som,sur,tim,zar"
|
|
||||||
skip = "./.*,*.json,ciphers/prehistoric_men.txt,project_euler/problem_022/p022_names.txt,pyproject.toml,strings/dictionary.txt,strings/words.txt"
|
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
ignore = [ # `ruff rule S101` for a description of that rule
|
ignore = [ # `ruff rule S101` for a description of that rule
|
||||||
"B904", # B904: Within an `except` clause, raise exceptions with `raise ... from err`
|
"B904", # B904: Within an `except` clause, raise exceptions with `raise ... from err`
|
||||||
@ -68,3 +50,21 @@ max-args = 10 # default: 5
|
|||||||
max-branches = 20 # default: 12
|
max-branches = 20 # default: 12
|
||||||
max-returns = 8 # default: 6
|
max-returns = 8 # default: 6
|
||||||
max-statements = 88 # default: 50
|
max-statements = 88 # default: 50
|
||||||
|
|
||||||
|
[tool.pytest.ini_options]
|
||||||
|
markers = [
|
||||||
|
"mat_ops: mark a test as utilizing matrix operations.",
|
||||||
|
]
|
||||||
|
addopts = [
|
||||||
|
"--durations=10",
|
||||||
|
"--doctest-modules",
|
||||||
|
"--showlocals",
|
||||||
|
]
|
||||||
|
|
||||||
|
[tool.coverage.report]
|
||||||
|
omit = [".env/*"]
|
||||||
|
sort = "Cover"
|
||||||
|
|
||||||
|
[tool.codespell]
|
||||||
|
ignore-words-list = "3rt,ans,crate,damon,fo,followings,hist,iff,kwanza,mater,secant,som,sur,tim,zar"
|
||||||
|
skip = "./.*,*.json,ciphers/prehistoric_men.txt,project_euler/problem_022/p022_names.txt,pyproject.toml,strings/dictionary.txt,strings/words.txt"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user