-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathruff.toml
More file actions
82 lines (77 loc) · 764 Bytes
/
ruff.toml
File metadata and controls
82 lines (77 loc) · 764 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
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
exclude = ["docs"]
line-length = 99
[lint.mccabe]
max-complexity = 8
[lint.per-file-ignores]
"**/tests/*" = [
"ANN001",
"ANN002",
"ANN003",
"ANN201",
"ANN202",
"D",
"B018",
"PLR2004",
"PLW0603",
"PT011",
"S101",
]
"**/encyclopaedia/encyclopaedia_ren.py" = ["N802"]
"**/encyclopaedia/book/book_ren.py" = ["N802"]
[lint.pydocstyle]
convention = "google"
[lint]
select = [
"A",
"ANN",
"B",
"BLE",
"C4",
"COM",
"C90",
"D",
"E",
"ERA",
"F",
"FURB",
"N",
"PERF",
"PIE",
"PL",
"PT",
"PTH",
"PYI",
"R",
"RET",
"RUF",
"S",
"SLOT",
"TID",
"T20",
"TRY",
"UP",
"W",
"YTT",
]
ignore = [
"ANN401",
"B026",
"D100",
"D107",
"D204",
"D205",
"D413",
"D415",
"F405",
"F821",
"PERF402",
"PIE790",
"PLR0913",
"RET504",
"RET505",
"RET506",
"RUF010",
"TID252",
"TRY003",
"UP037",
]