Mercurial > p > roundup > code
diff pyproject.toml @ 8176:736f769b48c8
A few cleanups to toml format. alphabetize, whitespace...
Using: pretty-toml-sort with --spaces-indent-inline-array 4 then
editing the result to keep blank lines inside sections and some
comments that it was stripping.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 07 Dec 2024 17:34:06 -0500 |
| parents | 9c58f5940c20 |
| children | c41e669a655c |
line wrap: on
line diff
--- a/pyproject.toml Wed Dec 04 10:45:26 2024 +0100 +++ b/pyproject.toml Sat Dec 07 17:34:06 2024 -0500 @@ -100,6 +100,8 @@ "SIM105", ] +[tool.ruff.lint.mccabe] +max-complexity = 50 [tool.ruff.lint.per-file-ignores] "roundup/anypy/*.py" = ["RET505", "RET506"] @@ -108,12 +110,10 @@ "roundup/support.py" = ["E401"] "roundup/security.py" = ["E701"] "roundup/date.py" = ["E231", "E701"] -"roundup/backends/back_sqlite.py" = [ "E203" ] +"roundup/backends/back_sqlite.py" = ["E203"] -[too.ruff.lint.pylint] +[tool.ruff.lint.pylint] max-args = 6 -max-branches=20 +max-branches = 20 max-statements = 100 -[tool.ruff.lint.mccabe] -max-complexity = 50
