-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathpyproject.toml
60 lines (49 loc) · 978 Bytes
/
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
[build-system]
requires = [
"setuptools>=45",
"wheel",
"setuptools_scm[toml]>=6.0"
]
build-backend = 'setuptools.build_meta'
[tool.setuptools_scm]
[tool.black]
line-length = 79
[tool.mypy]
strict = true
[[tool.mypy.overrides]]
module = "testinfra,deprecation"
ignore_missing_imports = true
[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = [
".git",
]
line-length = 79
indent-width = 4
# Assume Python 3.7
# Ideally we'd be 3.6 but upstream has no support for 3.6
# https://github.com/astral-sh/ruff/issues/3826
target-version = "py37"
[tool.ruff.format]
# Like Black, use double quotes for strings.
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.ruff.lint]
select = [
# Pyflakes
"F",
# Pycodestyle
"E",
"W",
# isort
"I"
]
ignore = [
# too long lines
"E501"
]
[tool.ruff.lint.isort]
force-single-line = true
case-sensitive = true