-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
67 lines (54 loc) · 1.28 KB
/
pyproject.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
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[tool.ruff]
# Assume Python 3.8
target-version = "py38"
[tool.ruff.lint]
# Rules applied by ruff, more information on https://docs.astral.sh/ruff/rules/
select = [
"F",
"E",
"W",
"C90",
"I",
"C4",
"T10",
"LOG",
"PIE",
"T20",
"PT",
"Q",
"RSE",
"RET",
"SIM",
"ARG",
"ERA",
"FLY",
"PERF",
"RUF",
]
ignore = ["W191", "E111", "E114", "E117", "Q000", "Q001", "Q002", "Q003", "SIM115"]
# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
# Excluded paths to lint
exclude = []
[tool.ruff.lint.isort]
# Order imports by type, which is determined by case, in addition to alphabetically.
order-by-type = false
known-third-party = []
[tool.ruff.lint.flake8-pytest-style]
fixture-parentheses = false
mark-parentheses = 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"
# Excluded paths to format
exclude = []