-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
66 lines (56 loc) · 1.06 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
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
addopts = "-ra -q"
testpaths = ["tests"]
norecursedirs = [
"*.egg",
".git",
".*",
"_*"
]
[tool.coverage.run]
branch = true
[tool.coverage.report]
omit = [
"extras/*",
"buildout-cache/eggs/*",
"parts/*",
"eggs/*",
"*/test*",
"*/test-views/*",
"*/distutils/__init__.py"
]
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py37,py38,py39,py310,py311,flake8,report
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310,flake8
3.11: py311
[testenv]
passenv = LANG
setenv =
py{37,38,39,310,311}: COVERAGE_FILE = .coverage.{envname}
commands = pytest --cov --cov-report= {posargs:-vv}
deps=
-e{toxinidir}[test]
[testenv:flake8]
basepython = python3.10
deps =
flake8
commands = flake8 honyaku/ tests/
[flake8]
exclude = .venv,.git,.tox,dist,docs,*lib/python*,*egg,build
[testenv:report]
deps = coverage
skip_install = true
commands =
coverage combine
coverage report
"""