@@ -74,41 +74,40 @@ lint.ignore = [
7474 " UP038" , # Use `X | Y` in `{}` call instead of `(X, Y)` -- DO NOT FIX
7575]
7676
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 = [
7979 " BLE001" ,
8080]
81- lint.per-file-ignores."hashes/enigma_machine.py" = [
81+ lint.per-file-ignores.lint = [
8282 " BLE001" ,
8383]
84- lint.per-file-ignores."machine_learning/sequential_minimum_optimization.py" = [
84+ lint.per-file-ignores.lint = [
8585 " SIM115" ,
8686]
87- lint.per-file-ignores."matrix/sherman_morrison.py" = [
87+ lint.per-file-ignores.lint = [
8888 " SIM103" ,
8989]
90- lint.per-file-ignores."other/l*u_cache.py" = [
90+ lint.per-file-ignores.lint = [
9191 " RUF012" ,
9292]
93- lint.per-file-ignores."physics/newtons_second_law_of_motion.py" = [
93+ lint.per-file-ignores.lint = [
9494 " BLE001" ,
9595]
96- lint.per-file-ignores."project_euler/problem_099/sol1.py" = [
96+ lint.per-file-ignores.lint = [
9797 " SIM115" ,
9898]
99- lint.per-file-ignores."sorts/external_sort.py" = [
99+ lint.per-file-ignores.lint = [
100100 " SIM115" ,
101101]
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 = [
104104 " float" ,
105105 " int" ,
106106 " str" ,
107107]
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
112111
113112[tool .codespell ]
114113ignore-words-list = " 3rt,ans,bitap,crate,damon,fo,followings,hist,iff,kwanza,manuel,mater,secant,som,sur,tim,toi,zar"
0 commit comments