mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-01-18 16:27:02 +00:00
Update .pre-commit-config.yaml (#8828)
* Update .pre-commit-config.yaml * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
0dee4a402c
commit
07e6812888
|
@ -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]
|
||||
ignore = [ # `ruff rule S101` for a description of that rule
|
||||
"ARG001", # Unused function argument `amount` -- FIX ME?
|
||||
|
@ -131,3 +113,21 @@ max-args = 10 # default: 5
|
|||
max-branches = 20 # default: 12
|
||||
max-returns = 8 # default: 6
|
||||
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…
Reference in New Issue
Block a user