File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -96,21 +96,21 @@ ignore = [
9696known-third-party = [" micropython" ]
9797
9898[tool .ruff .lint .mccabe ]
99- max-complexity = 61
99+ max-complexity = 25
100100
101101[tool .ruff .lint .pylint ]
102102allow-magic-value-types = [" bytes" , " int" , " str" ]
103- max-args = 14
104- max-branches = 58
105- max-returns = 13
106- max-statements = 166
103+ max-args = 10
104+ max-branches = 25
105+ max-returns = 8
106+ max-statements = 65
107107
108108[tool .ruff .lint .per-file-ignores ]
109109# manifest.py files are evaluated with some global names pre-defined
110110"**/manifest.py" = [" F821" ]
111111"**/examples/*.py" = [" T20" , " N806" ]
112112"lib/mcp23009e/examples/i2c_scan.py" = [" PERF203" ]
113- "tests/**/*.py" = [" T20" ]
113+ "tests/**/*.py" = [" T20" , " PLR0911 " , " PLR0912 " , " PLR0915 " ]
114114
115115[tool .ruff .format ]
116116quote-style = " double"
You can’t perform that action at this time.
0 commit comments