-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
68 lines (62 loc) · 1.39 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
68
[tool.pytest.ini_options]
addopts = [
"--color=yes",
"--import-mode=importlib",
"--verbose",
]
testpaths = [
"tests",
]
[tool.ruff]
fix = true
force-exclude = true
target-version = "py39"
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
[tool.tox]
legacy_tox_ini = """
[gh-actions]
python =
3.10: py310
3.11: py311
3.12: py312
[gh-actions:env]
OS =
ubuntu-latest: linux
macos-latest: macos
windows-latest: windows
[testenv]
skip_install = true
description =
Test package creation
deps =
cookiecutter
pytest
commands =
pytest {posargs}
[tox]
env_list = py3{9,10,11,12}-{linux,macos,windows}
"""