-
Notifications
You must be signed in to change notification settings - Fork 0
/
ruff.toml
80 lines (73 loc) · 1.02 KB
/
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
line-length = 120
exclude = ["**/__init__.py", "test/test_results.py"]
[format]
docstring-code-format = true
docstring-code-line-length = 80
[lint]
select = [
"A",
"ARG",
"ASYNC",
"B",
"BLE",
"C",
"COM818",
"COM819",
"DTZ",
"E",
"EM",
"EXE",
"F",
"FA",
"FBT",
"FLY",
"G",
"I",
"ICN",
"INT",
"ISC002",
"ISC003",
"LOG",
"N",
"PERF",
"PGH",
"PIE",
"PLC",
"PLE",
"PLR",
"PLW",
"PT",
"PYI",
"RET",
"RSE",
"RUF00",
"RUF01",
"RUF020",
"RUF100",
"S1",
"S6",
"SIM",
"SLF",
"T10",
"T20",
"TCH",
"TD004",
"TD005",
"TD006",
"TD007",
"TID",
"TRY",
"UP",
"W2",
"W5",
"W6",
]
[lint.per-file-ignores]
"test/results/*" = ["E501", "RUF001"]
[lint.flake8-tidy-imports]
ban-relative-imports = "all"
[lint.isort]
known-first-party = ["gdl_extractors"]
[lint.flake8-pytest-style]
fixture-parentheses = false
mark-parentheses = false