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 67 68
|
[tox]
envlist =
clean,py38,py39,py310,py311,py312,py313,pypy3,cover,docs,mypy,manifest
[testenv:clean]
basepython =
python3.10
deps =
commands =
python -c "import os; os.path.exists('.coverage') and os.remove('.coverage')"
depends =
[testenv]
usedevelop = true
commands =
python -m pytest --cov=pkginfo --cov-append --cov-report=
deps =
wheel
pytest
pytest-cov
depends =
clean
[testenv:cover]
basepython =
python3.10
commands =
coverage report --fail-under=100
deps =
coverage
depends =
py38,py39,py310,py311,py312,py313,pypy3
[testenv:docs]
basepython =
python3.10
commands =
sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
sphinx-build -b doctest -d docs/_build/doctrees docs docs/_build/doctest
deps =
Sphinx
[testenv:mypy]
usedevelop = true
basepython =
python3.10
commands =
mypy
stubtest pkginfo.bdist
stubtest pkginfo.commandline
stubtest pkginfo.develop
stubtest pkginfo.distribution
stubtest pkginfo.index
stubtest pkginfo.installed
stubtest pkginfo.sdist
stubtest pkginfo.utils
stubtest pkginfo.wheel
deps =
mypy==0.991
types-setuptools
[testenv:manifest]
basepython =
python3.10
deps =
check-manifest
commands =
check-manifest
|