-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
37 lines (35 loc) · 767 Bytes
/
pyproject.toml
File metadata and controls
37 lines (35 loc) · 767 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
[tool.ruff]
target-version = "py37" # Oldest supported, need to mind older manually
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ANN", # Maybe sometime
"D203", # Ping/pong with D211
"D213", # Ping/pong with D212
"FA", # See what happens with PEP 649 impl first
"UP014", # Python >= 3.6
"UP031", # Python >= 3.6
"UP032", # Python >= 3.6
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
# (keep order of ignores here same as ^there for maintainability)
"W191",
"E111",
"E114",
"E117",
"D206",
"D300",
"Q000",
"Q001",
"Q002",
"Q003",
"COM812",
"COM819",
"ISC001",
"ISC002",
]
unfixable = [
"T20",
"UP031", # Fixes with Python >= 3.6 f-strings
]
[tool.ruff.lint.per-file-ignores]
"test_*.py" = ["S101"]