Skip to content

Commit

Permalink
Improve ruff lint rules, indented functions and scons inbuilts
Browse files Browse the repository at this point in the history
  • Loading branch information
seanbudd committed Jul 3, 2024
1 parent b47fdc5 commit c3f2981
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ exclude = [
[tool.ruff.format]
indent-style = "tab"
line-ending = "lf"
skip-magic-trailing-comma = true

[tool.ruff.lint.mccabe]
max-complexity = 15
Expand All @@ -53,6 +54,12 @@ ignore = [
]
logger-objects = ["logHandler.log"]

[tool.ruff.lint.per-file-ignores]
# sconscripts contains many inbuilt functions not recognised by the lint,
# so ignore F821.
"sconstruct" = ["F821"]
"*sconscript" = ["F821"]

[tool.licensecheck]
using = "requirements:requirements.txt"
only_licenses = ["BSD", "MIT", "Python", "LGPLV3+"]
Expand Down

0 comments on commit c3f2981

Please sign in to comment.