-
Notifications
You must be signed in to change notification settings - Fork 117
/
ruff.toml
64 lines (62 loc) · 915 Bytes
/
ruff.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
include = ["*.py", "*.pyi", "**/pyproject.toml", "*.ipynb"]
exclude = [
"build",
"*/web_client/*",
"*/*egg*/*",
]
lint.ignore = [
"B017",
"B026",
"B904",
"B905",
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D107",
"D200",
"D203",
"D205",
"D212",
"D213",
"D400",
"D401",
"D404",
"D415",
"D417",
"E741",
"C408",
"PT011",
"PT012",
"PT017",
]
line-length = 100
lint.select = [
"B", # bugbear
"C90", # mccabe
"D", # pydocstyle
"E", # pycodestyle errors
"F", # pyflakes
"Q", # flake8-quotes
# "I", # isort
"W", # pycodestyle warnings
"YTT",
"ASYNC",
"COM",
"C4",
"EM",
"EXE",
"ISC",
"G",
"PIE",
# "PYI",
"PT",
"RSE",
]
[lint.flake8-quotes]
inline-quotes = "single"
[lint.mccabe]
max-complexity = 14