-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathruff-strict.toml
More file actions
39 lines (32 loc) · 895 Bytes
/
ruff-strict.toml
File metadata and controls
39 lines (32 loc) · 895 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[lint]
future-annotations = true
select = ["ALL"]
ignore = [
"ANN", # maybe cleanup later - annotations
"C408", # ignore - dict call
"COM812", # ignore - ruff format
"D", # ignore - docstrings
"E501", # ignore - line too long
"N", # ignore - naming
"PLC0415", # ignore - import at top-level of file
"PLR0913", # ignore - too many arguments
"PLR2004", # ignore - magic value comparison
"PTH", # ignore - pathlib
"Q", # ignore - quotes style
"TD", # ignore - todos
]
pyupgrade.keep-runtime-typing = true
[lint.flake8-type-checking]
strict = true
[lint.isort]
case-sensitive = true
force-single-line = true
from-first = true
lines-after-imports = 2
no-sections = true
order-by-type = false
[lint.per-file-ignores]
"src/devpi_constrained/tests/test_*.py" = [
"INP001", # ignore - implicit namespace package
"S101", # ignore - asserts
]