Skip to content

Commit

Permalink
Ruff: Add ruff (#10893)
Browse files Browse the repository at this point in the history
Co-authored-by: Cody Maffucci <[email protected]>
  • Loading branch information
kiblik and Maffooch authored Sep 16, 2024
1 parent c71226f commit 3641886
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ select = [
"PD",
"PGH",
"PLE",
"PLR0915",
"PLW15",
"TRY003",
"TRY004",
Expand Down Expand Up @@ -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.

0 comments on commit 3641886

Please sign in to comment.