-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathruff.toml
More file actions
77 lines (72 loc) · 1.16 KB
/
ruff.toml
File metadata and controls
77 lines (72 loc) · 1.16 KB
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
fix = true
line-length = 120
src = ["evalai_backend", "tests"]
target-version = "py312"
[format]
docstring-code-format = true
docstring-code-line-length = 120
indent-style = "tab"
quote-style = "double"
skip-magic-trailing-comma = false
[lint]
ignore = [
"TID252",
"E501",
"S101",
"S102",
"S104",
"S324",
"EXE002",
"D100",
"D102",
"D203", # clash with formatter
"D206", # we use tabs
"D103",
"D104",
"D105",
"D106",
"D101",
"D107",
"D212",
"D211",
"ANN101",
"ANN102",
"PGH003",
"PGH004",
"N811",
"N804",
"N818",
"N806",
"N815",
"ARG001",
"ARG002",
"DTZ003",
"DTZ005",
"RSE102",
"SLF001",
"PLR",
"INP",
"TRY",
"SIM300",
"SIM114",
"DJ008",
"FIX002",
"S603",
"S607",
"TD002",
"TD003",
"W191", # We use tabs
"COM812", # missing trailing comma
"ISC001" # handled by formatter
]
select = [
"ALL"
]
[lint.flake8-annotations]
suppress-none-returning = true
[lint.flake8-quotes]
docstring-quotes = "double"
inline-quotes = "double"
multiline-quotes = "double"
[lint.isort]
combine-as-imports = true