@@ -56,6 +56,24 @@ lint.select = [
56
56
# "TCH", # flake8-type-checking
57
57
# "TRY", # tryceratops
58
58
]
59
+ lint.ignore = [
60
+ # `ruff rule S101` for a description of that rule
61
+ " B904" , # Within an `except` clause, raise exceptions with `raise ... from err` -- FIX ME
62
+ " B905" , # `zip()` without an explicit `strict=` parameter -- FIX ME
63
+ " EM101" , # Exception must not use a string literal, assign to variable first
64
+ " EXE001" , # Shebang is present but file is not executable -- DO NOT FIX
65
+ " G004" , # Logging statement uses f-string
66
+ " PLC1901" , # `{}` can be simplified to `{}` as an empty string is falsey
67
+ " PLW060" , # Using global for `{name}` but no assignment is done -- DO NOT FIX
68
+ " PLW2901" , # PLW2901: Redefined loop variable -- FIX ME
69
+ " PT011" , # `pytest.raises(Exception)` is too broad, set the `match` parameter or use a more specific exception
70
+ " PT018" , # Assertion should be broken down into multiple parts
71
+ " S101" , # Use of `assert` detected -- DO NOT FIX
72
+ " S311" , # Standard pseudo-random generators are not suitable for cryptographic purposes -- FIX ME
73
+ " SLF001" , # Private member accessed: `_Iterator` -- FIX ME
74
+ " UP038" , # Use `X | Y` in `{}` call instead of `(X, Y)` -- DO NOT FIX
75
+ ]
76
+
59
77
lint.per-file-ignores."arithmetic_analysis/newton_raphson.py" = [
60
78
" PGH001" ,
61
79
]
@@ -96,23 +114,6 @@ lint.pylint.max-args = 10 # default: 5
96
114
lint.pylint.max-branches = 20 # default: 12
97
115
lint.pylint.max-returns = 8 # default: 6
98
116
lint.pylint.max-statements = 88 # default: 50
99
- lint.ignore = [
100
- # `ruff rule S101` for a description of that rule
101
- " B904" , # Within an `except` clause, raise exceptions with `raise ... from err` -- FIX ME
102
- " B905" , # `zip()` without an explicit `strict=` parameter -- FIX ME
103
- " EM101" , # Exception must not use a string literal, assign to variable first
104
- " EXE001" , # Shebang is present but file is not executable -- DO NOT FIX
105
- " G004" , # Logging statement uses f-string
106
- " PLC1901" , # `{}` can be simplified to `{}` as an empty string is falsey
107
- " PLW060" , # Using global for `{name}` but no assignment is done -- DO NOT FIX
108
- " PLW2901" , # PLW2901: Redefined loop variable -- FIX ME
109
- " PT011" , # `pytest.raises(Exception)` is too broad, set the `match` parameter or use a more specific exception
110
- " PT018" , # Assertion should be broken down into multiple parts
111
- " S101" , # Use of `assert` detected -- DO NOT FIX
112
- " S311" , # Standard pseudo-random generators are not suitable for cryptographic purposes -- FIX ME
113
- " SLF001" , # Private member accessed: `_Iterator` -- FIX ME
114
- " UP038" , # Use `X | Y` in `{}` call instead of `(X, Y)` -- DO NOT FIX
115
- ]
116
117
117
118
[tool .codespell ]
118
119
ignore-words-list = " 3rt,ans,bitap,crate,damon,fo,followings,hist,iff,kwanza,manuel,mater,secant,som,sur,tim,toi,zar"
0 commit comments