-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathruff.toml
85 lines (79 loc) · 918 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
exclude = ["tests"]
# Support Python 3.9+.
target-version = "py39"
# Set the maximum line length to 79.
line-length = 79
# auto-fix
fix = true
unsafe-fixes = true
[lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
# flake8-quotes
"Q",
"W",
"C90",
"N",
"D",
"YTT",
"ANN",
"ASYNC",
"S",
"BLE",
"FBT",
"A",
"COM",
"C4",
"DTZ",
"T10",
"DJ",
"EM",
"EXE",
"FA",
"ISC",
"ICN",
"LOG",
"G",
"INP",
"PIE",
"T20",
"PYI",
"PT",
"RSE",
"RET",
"SLF",
"SLOT",
"TID",
"TCH",
"INT",
"ARG",
"PTH",
"TD",
"FIX",
"ERA",
"PD",
"PGH",
"PL",
"TRY",
"FLY",
"NPY",
"AIR",
"PERF",
"FURB",
"RUF",
]
ignore = ["D203", "D205", "D212", "COM812", "ISC001", "T201"]
[format]
docstring-code-format = true
docstring-code-line-length = 60