-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
44 lines (42 loc) · 943 Bytes
/
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
[tool.ruff]
# match black
line-length = 120
target-version = "py311"
lint.select = [
"ALL", # include all the rules, including new ones
]
lint.extend-select = ["I"]
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",
"D211",
"D212",
"D400",
"D401",
"D415",
"E402", # false positives for local imports
"E501", # line too long
"ISC001",
"TRY003", # external messages in exceptions are too verbose
"G004", # f-strings in logs (Our project is too small to care about this)
"TD002",
"TD003",
"FIX002", # too verbose descriptions of todos
]