tox: add minimal configuration

This commit is contained in:
Jonas Malaco 2022-02-24 07:27:13 -03:00
parent 3d05977353
commit 8380c03603
2 changed files with 12 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
*.egg-info/
.krakenduty-poc
.tox/
__pycache__/
build/
dist/

11
tox.ini Normal file
View File

@ -0,0 +1,11 @@
[tox]
envlist = py37, py38, py39, py310, py311
isolated_build = True
skip_missing_interpreters = true
[testenv]
setenv = XDG_RUNTIME_DIR = {toxinidir}/.test_rundir
deps =
pytest
commands =
python -m pytest