Mercurial > p > roundup > code
changeset 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 | bd628e64725f |
| children | 2967f37e73e4 |
| files | pyproject.toml |
| diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
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
