-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruff.toml
More file actions
20 lines (16 loc) · 548 Bytes
/
ruff.toml
File metadata and controls
20 lines (16 loc) · 548 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
line-length = 128
target-version = "py311"
[lint]
select = ["ALL"]
ignore = ["D203", "G004"]
[lint.isort]
required-imports = ["from __future__ import annotations"]
[lint.per-file-ignores]
"test_*.py" = ["S101", "D103", "SLF001", "D100","D101", "FBT003", "PLR2004", "N814", "S105"]
"examples/*.py" = ["ALL"]
"src/confkit/data_types.py" = ["E701"] # Allow inline return after : on match for readability
[format]
# Don't apply line-length formatting to comments
skip-magic-trailing-comma = true
quote-style = "double"
docstring-code-format = true