forked from userver-framework/userver
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (69 loc) · 1.26 KB
/
pyproject.toml
File metadata and controls
80 lines (69 loc) · 1.26 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
78
79
80
[tool.mypy]
implicit_optional = true
disable_error_code = ["name-match", "arg-type"]
[tool.ruff]
target-version = "py310"
line-length = 120
[tool.ruff.format]
preview = true
quote-style = "single"
indent-style = "space"
line-ending = "lf"
skip-magic-trailing-comma = false
docstring-code-format = false
docstring-code-line-length = "dynamic"
[tool.ruff.lint]
preview = true
select = [
"I",
"PYI026",
"PYI032",
"Q000",
"UP006",
"UP007",
"UP035",
"UP045",
"W291",
]
ignore = []
unfixable = []
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.flake8-quotes]
docstring-quotes = "double"
inline-quotes = "single"
multiline-quotes = "double"
[tool.ruff.lint.isort]
force-single-line = true
relative-imports-order = "closest-to-furthest"
force-sort-within-sections = true
case-sensitive = false
order-by-type = false
section-order = [
"future",
"standard-library",
"third-party",
"appnexus",
"first-party",
"local-folder",
]
no-lines-before = [
"local-folder",
]
known-third-party = [
"grpc",
"google",
"conan",
"redis",
]
known-first-party = [
"requests_client",
"chaotic",
"samples",
"utils",
]
[tool.ruff.lint.isort.sections]
appnexus = [
"testsuite",
"taxi",
]