From 3641886fb20ec54dbe1e0a46992e3ec0954a5ce3 Mon Sep 17 00:00:00 2001 From: kiblik <5609770+kiblik@users.noreply.github.com> Date: Mon, 16 Sep 2024 04:56:16 +0200 Subject: [PATCH] Ruff: Add ruff (#10893) Co-authored-by: Cody Maffucci <46459665+Maffooch@users.noreply.github.com> --- ruff.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ruff.toml b/ruff.toml index 858824074ea..5d3eecbe4d5 100644 --- a/ruff.toml +++ b/ruff.toml @@ -66,6 +66,7 @@ select = [ "PD", "PGH", "PLE", + "PLR0915", "PLW15", "TRY003", "TRY004", @@ -97,5 +98,8 @@ per-file-ignores = {} [lint.flake8-boolean-trap] extend-allowed-calls = ["dojo.utils.get_system_setting"] +[lint.pylint] +max-statements = 234 + [lint.mccabe] max-complexity = 70 # value is far from perfect (recommended default is 10). But we will try to decrease it over the time.