Project editing and testing configuration bumpf
This commit is contained in:
parent
4011c1fa47
commit
2e4b981aa7
8 changed files with 139 additions and 0 deletions
29
tox.ini
Normal file
29
tox.ini
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
[tox]
|
||||
envlist = py38,py310
|
||||
skipsdist = True
|
||||
skip_missing_interpreters = True
|
||||
|
||||
[testenv]
|
||||
skip_install = True
|
||||
setenv =
|
||||
PYTHONPATH = {toxroot}
|
||||
commands =
|
||||
pytest --cov=. --junitxml=junit.xml --cov-report xml:coverage.xml --cov-report term {posargs}
|
||||
deps =
|
||||
-r requirements-dev.txt
|
||||
|
||||
[coverage:run]
|
||||
|
||||
[coverage:report]
|
||||
skip_empty = True
|
||||
sort = miss
|
||||
|
||||
[flake8]
|
||||
max_line_length = 120
|
||||
ignore = E501
|
||||
exclude =
|
||||
.git,
|
||||
.pytest_cache,
|
||||
.tox,
|
||||
.venv,
|
||||
venv
|
||||
Loading…
Add table
Add a link
Reference in a new issue