@@ -74,41 +74,40 @@ lint.ignore = [
74
74
" UP038" , # Use `X | Y` in `{}` call instead of `(X, Y)` -- DO NOT FIX
75
75
]
76
76
77
- [ tool . ruff . lint .per-file-ignores ]
78
- lint.per-file-ignores."data_structures/hashing/tests/test_hash_map.py" = [
77
+ lint.per-file-ignores.lint = 88 # default: 50
78
+ lint.per-file-ignores.lint = [
79
79
" BLE001" ,
80
80
]
81
- lint.per-file-ignores."hashes/enigma_machine.py" = [
81
+ lint.per-file-ignores.lint = [
82
82
" BLE001" ,
83
83
]
84
- lint.per-file-ignores."machine_learning/sequential_minimum_optimization.py" = [
84
+ lint.per-file-ignores.lint = [
85
85
" SIM115" ,
86
86
]
87
- lint.per-file-ignores."matrix/sherman_morrison.py" = [
87
+ lint.per-file-ignores.lint = [
88
88
" SIM103" ,
89
89
]
90
- lint.per-file-ignores."other/l*u_cache.py" = [
90
+ lint.per-file-ignores.lint = [
91
91
" RUF012" ,
92
92
]
93
- lint.per-file-ignores."physics/newtons_second_law_of_motion.py" = [
93
+ lint.per-file-ignores.lint = [
94
94
" BLE001" ,
95
95
]
96
- lint.per-file-ignores."project_euler/problem_099/sol1.py" = [
96
+ lint.per-file-ignores.lint = [
97
97
" SIM115" ,
98
98
]
99
- lint.per-file-ignores."sorts/external_sort.py" = [
99
+ lint.per-file-ignores.lint = [
100
100
" SIM115" ,
101
101
]
102
- lint.mccabe.max-complexity = 17 # default: 10
103
- lint.pylint.allow-magic-value-types = [
102
+ lint.per-file-ignores.lint = 17 # default: 10
103
+ lint.per-file-ignores.lint = [
104
104
" float" ,
105
105
" int" ,
106
106
" str" ,
107
107
]
108
- lint.pylint.max-args = 10 # default: 5
109
- lint.pylint.max-branches = 20 # default: 12
110
- lint.pylint.max-returns = 8 # default: 6
111
- lint.pylint.max-statements = 88 # default: 50
108
+ lint.per-file-ignores.lint = 10 # default: 5
109
+ lint.per-file-ignores.lint = 20 # default: 12
110
+ lint.per-file-ignores.lint = 8 # default: 6
112
111
113
112
[tool .codespell ]
114
113
ignore-words-list = " 3rt,ans,bitap,crate,damon,fo,followings,hist,iff,kwanza,manuel,mater,secant,som,sur,tim,toi,zar"
0 commit comments