-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruff.toml
More file actions
68 lines (63 loc) · 886 Bytes
/
ruff.toml
File metadata and controls
68 lines (63 loc) · 886 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
target-version = "py38"
exclude = [".git", ".ruff_cache", ".venv", ".idea"]
[format]
quote-style = "single"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[lint]
select = [
"E",
"W",
"F",
"I",
"UP",
"B",
"C4",
"SIM",
"PTH",
"RUF",
"FBT",
"Q",
"ANN",
"TYP",
"RET505",
"COM812",
"D300",
"TC001",
"TC002",
"TC003",
"TC005",
"TC007",
"ASYNC",
"W293",
]
ignore = [
"RUF006",
"SIM105",
"E501",
"SIM108",
"FBT001",
"E741",
"ANN002",
"ANN003",
"ANN401",
"RUF059",
"RUF029",
"ISC001",
"COM812",
"Q000",
"Q001",
"Q002",
"Q003",
"W191",
]
[lint.flake8-quotes]
docstring-quotes = "double"
inline-quotes = "single"
multiline-quotes = "double"
[lint.flake8-annotations]
mypy-init-return = true
suppress-none-returning = false
suppress-dummy-args = false
allow-star-arg-any = true