-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
58 lines (49 loc) · 993 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
# ==================
# Tool configuration
# ==================
[tool.black]
line-length = 120
[tool.coverage.report]
fail_under = 0
show_missing = true
[tool.coverage.run]
omit = [
"tests/*",
]
[tool.isort]
profile = "black"
line_length = 120
multi_line_output = 3
[tool.pytest.ini_options]
minversion = "2.0"
addopts = "-rsfEX -p pytester --strict-markers --verbosity=3 --cov --cov-report=term-missing --cov-report=xml"
log_level = "DEBUG"
testpaths = ["tests"]
xfail_strict = true
markers = [
]
[tool.ruff]
line-length = 120
extend-exclude = [
"var",
]
# ===================
# Tasks configuration
# ===================
[tool.poe.tasks]
build = {cmd="python -m build"}
docs-html = {cmd="sh -c 'cd doc && make html'"}
docs-linkcheck = {cmd="sh -c 'cd doc && make linkcheck'"}
format = [
{cmd="black ."},
{cmd="isort ."},
]
lint = [
{cmd="ruff ."},
{cmd="black --check ."},
{cmd="isort --check ."},
{cmd="proselint *.rst doc/**/*.rst"}
]
test = [
{cmd="pytest"},
]