-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml.ultra
65 lines (52 loc) · 1.08 KB
/
pyproject.toml.ultra
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
[tool.coverage.report]
omit = [ "tests/**" ]
[tool.vulture]
sort_by_size = true
paths = ['.']
min_confidence = 80
ignore_names = ["cls"]
[tool.ruff]
# Same as Black.
line-length = 88
indent-width = 4
target-version = "py310"
fix = true
unsafe-fixes = true
show-fixes = true
show-source = true
[tool.ruff.lint]
# Please refer https://docs.astral.sh/ruff/rules/ for the short name.
select = ["ALL"]
ignore-init-module-imports = true
ignore = [
"D",
"COM",
"ANN",
"E501",
"B904",
"T201",
"E722",
"BLE001",
"UP032", # f-string
"TRY002",
"ERA001",
"PLR2004",
"E741",
"SLF001",
"PTH123",
"F405",
]
[tool.ruff.lint.pylint]
max-args = 10
[tool.ruff.lint.isort]
combine-as-imports = true
order-by-type = false
[tool.ruff.format]
# Like Black, use double quotes for strings.
quote-style = "double"
# Like Black, indent with spaces, rather than tabs.
indent-style = "space"
# Like Black, respect magic trailing commas.
skip-magic-trailing-comma = false
# Like Black, automatically detect the appropriate line ending.
line-ending = "auto"