-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
64 lines (61 loc) · 1.32 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
[tool.pytest.ini_options]
addopts = [
"--color=yes",
"--import-mode=importlib",
"--verbose",
]
testpaths = [
"tests",
]
[tool.ruff]
fix = true
force-exclude = true
target-version = "py311"
lint.ignore = [
"COM812", # trailing commas (ruff-format recommended)
"D203", # no-blank-line-before-class
"D212", # multi-line-summary-first-line
"D407", # removed dashes lines under sections
"D417", # argument description in docstring (unreliable)
"ISC001", # simplify implicit str concatenation (ruff-format recommended)
]
lint.per-file-ignores = {"*tests*" = [
"INP001",
"S101",
], "hooks*" = [
"INP001",
"T201",
]}
lint.select = [
"ALL",
]
lint.mccabe.max-complexity = 18
[tool.tomlsort]
all = true
spaces_indent_inline_array = 4
trailing_comma_inline_array = true
overrides."project.classifiers".inline_arrays = false
overrides."tool.coverage.paths.source".inline_arrays = false
overrides."tool.tox.env_run_base.commands".inline_arrays = false
[tool.tox]
env_list = [
"py311",
"py312",
"py313",
]
env_run_base = {commands = [
[
"pytest",
"{posargs}",
],
], deps = [
"cookiecutter",
"pytest",
], description = "Test package creation", skip_install = true}
gh.python = {"3.11" = [
"py311",
], "3.12" = [
"py312",
], "3.13" = [
"py313",
]}