-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
66 lines (55 loc) · 1.04 KB
/
pyproject.toml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[tool.ruff]
line-length = 120
target-version = "py311"
lint.select = [
"ALL", # include all the rules, including new ones
]
lint.ignore = [
#### modules
"ANN", # flake8-annotations
"COM", # flake8-commas
"C90", # mccabe complexity
"DJ", # django
"EXE", # flake8-executable
"T10", # debugger
"TID", # flake8-tidy-imports
#### specific rules
"D100", # ignore missing docs
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D107",
"D200",
"D205",
"D212",
"D400",
"D401",
"D415",
"E402", # false positives for local imports
"E501", # line too long
"TRY003", # external messages in exceptions are too verbose
"TD002",
"TD003",
"FIX002", # too verbose descriptions of todos
#Conflicting
"D211",
"D203",
#Print
"T201",
"T203",
#Open
"PTH123",
"EM101",
"FBT001",
"FBT003",
"S506",
"PTH118",
"N802",
"EM102",
"BLE001"
]
[tool.ruff.lint.flake8-quotes]
inline-quotes = "single"