@@ -37,7 +37,6 @@ test = [
3737 " pytest>=8.4.1" ,
3838 " pytest-cov>=6" ,
3939]
40-
4140docs = [
4241 " myst-parser>=4" ,
4342 " sphinx-autoapi>=3.4" ,
@@ -50,7 +49,6 @@ euler-validate = [
5049
5150[tool .ruff ]
5251target-version = " py314"
53-
5452output-format = " full"
5553lint.select = [
5654 # https://beta.ruff.rs/docs/rules
@@ -128,7 +126,6 @@ lint.ignore = [
128126 " SLF001" , # Private member accessed: `_Iterator` -- FIX ME
129127 " UP037" , # FIX ME
130128]
131-
132129lint.per-file-ignores."data_structures/hashing/tests/test_hash_map.py" = [
133130 " BLE001" ,
134131]
@@ -150,37 +147,40 @@ lint.per-file-ignores."project_euler/problem_099/sol1.py" = [
150147lint.per-file-ignores."sorts/external_sort.py" = [
151148 " SIM115" ,
152149]
153- lint.mccabe.max-complexity = 17 # default: 10
150+ lint.mccabe.max-complexity = 17 # default: 10
154151lint.pylint.allow-magic-value-types = [
155152 " float" ,
156153 " int" ,
157154 " str" ,
158155]
159- lint.pylint.max-args = 10 # default: 5
160- lint.pylint.max-branches = 20 # default: 12
161- lint.pylint.max-returns = 8 # default: 6
162- lint.pylint.max-statements = 88 # default: 50
156+ lint.pylint.max-args = 10 # default: 5
157+ lint.pylint.max-branches = 20 # default: 12
158+ lint.pylint.max-returns = 8 # default: 6
159+ lint.pylint.max-statements = 88 # default: 50
163160
164161[tool .codespell ]
165162ignore-words-list = " 3rt,abd,aer,ans,bitap,crate,damon,fo,followings,hist,iff,kwanza,manuel,mater,secant,som,sur,tim,toi,zar"
166- skip = " ./.*,*.json,*.lock,ciphers/prehistoric_men.txt,project_euler/problem_022/p022_names.txt,pyproject.toml,strings/dictionary.txt,strings/words.txt"
163+ skip = """ \
164+ ./.*,*.json,*.lock,ciphers/prehistoric_men.txt,project_euler/problem_022/p022_names.txt,pyproject.toml,strings/dictio\
165+ nary.txt,strings/words.txt\
166+ """
167167
168- [tool .pytest . ini_options ]
169- markers = [
168+ [tool .pytest ]
169+ ini_options. markers = [
170170 " mat_ops: mark a test as utilizing matrix operations." ,
171171]
172- addopts = [
172+ ini_options. addopts = [
173173 " --durations=10" ,
174174 " --doctest-modules" ,
175175 " --showlocals" ,
176176]
177177
178- [tool .coverage . report ]
179- omit = [
178+ [tool .coverage ]
179+ report. omit = [
180180 " .env/*" ,
181181 " project_euler/*" ,
182182]
183- sort = " Cover"
183+ report. sort = " Cover"
184184
185185[tool .sphinx-pyproject ]
186186copyright = " 2014, TheAlgorithms"
@@ -261,7 +261,6 @@ myst_fence_as_directive = [
261261 " include" ,
262262]
263263templates_path = [ " _templates" ]
264- [tool .sphinx-pyproject .source_suffix ]
265- ".rst" = " restructuredtext"
264+ source_suffix.".rst" = " restructuredtext"
266265# ".txt" = "markdown"
267- ".md" = " markdown"
266+ source_suffix. ".md" = " markdown"
0 commit comments