Skip to content

Commit d10fc30

Browse files
authored
Merge c70dbef into b47fdc5
2 parents b47fdc5 + c70dbef commit d10fc30

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pyproject.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ exclude = [
4242
[tool.ruff.format]
4343
indent-style = "tab"
4444
line-ending = "lf"
45+
# Preserve indentation of items separated by commas and newlines,
46+
# rather than wrapping to a single line.
47+
skip-magic-trailing-comma = true
4548

4649
[tool.ruff.lint.mccabe]
4750
max-complexity = 15
@@ -53,6 +56,12 @@ ignore = [
5356
]
5457
logger-objects = ["logHandler.log"]
5558

59+
[tool.ruff.lint.per-file-ignores]
60+
# sconscripts contains many inbuilt functions not recognised by the lint,
61+
# so ignore F821.
62+
"sconstruct" = ["F821"]
63+
"*sconscript" = ["F821"]
64+
5665
[tool.licensecheck]
5766
using = "requirements:requirements.txt"
5867
only_licenses = ["BSD", "MIT", "Python", "LGPLV3+"]

0 commit comments

Comments
 (0)