Project editing and testing configuration bumpf

This commit is contained in:
Jonathan Harker 2024-09-20 16:32:35 +12:00
parent 4011c1fa47
commit 2e4b981aa7
8 changed files with 139 additions and 0 deletions

29
tox.ini Normal file
View 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