2014-02-05 17:15:50 +00:00
|
|
|
[tox]
|
2020-09-21 12:46:28 +00:00
|
|
|
envlist =
|
2022-09-03 15:50:58 +00:00
|
|
|
fix
|
|
|
|
py310
|
|
|
|
py39
|
|
|
|
py38
|
|
|
|
py37
|
|
|
|
readme
|
|
|
|
isolated_build = true
|
|
|
|
skip_missing_interpreters = true
|
|
|
|
minversion = 3.14
|
2014-02-05 17:15:50 +00:00
|
|
|
|
|
|
|
[testenv]
|
2020-09-21 12:46:28 +00:00
|
|
|
description = run test suite under {basepython}
|
2014-06-14 19:19:51 +00:00
|
|
|
commands =
|
2020-09-21 12:46:28 +00:00
|
|
|
pytest {posargs:-vv}
|
2014-02-05 17:15:50 +00:00
|
|
|
deps =
|
2022-09-03 15:50:58 +00:00
|
|
|
graphviz>=0.20.1
|
|
|
|
pip>=22.2.2
|
|
|
|
pytest>=7.1.3
|
|
|
|
pytest-cov>=3
|
|
|
|
virtualenv<21,>=20.16.4
|
2020-09-21 12:53:53 +00:00
|
|
|
extras =
|
|
|
|
graphviz
|
2022-09-03 15:50:58 +00:00
|
|
|
|
|
|
|
[testenv:readme]
|
|
|
|
description = check that the long description is valid
|
|
|
|
basepython = python3.10
|
|
|
|
skip_install = true
|
|
|
|
deps =
|
|
|
|
build[virtualenv]>=0.8
|
|
|
|
twine>=4.0.1
|
|
|
|
commands =
|
|
|
|
python -m build --sdist --wheel -o {envtmpdir} .
|
|
|
|
twine check {envtmpdir}/*
|
|
|
|
|
|
|
|
[testenv:dev]
|
|
|
|
description = generate a DEV environment
|
|
|
|
usedevelop = true
|
|
|
|
commands =
|
|
|
|
python -m pip list --format=columns
|
|
|
|
python -c 'import sys; print(sys.executable)'
|