1
0
Fork 0

Adding upstream version 2.1.0.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-07 00:47:33 +01:00
parent d1aeef90c9
commit d8a70e48ab
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
56 changed files with 3865 additions and 0 deletions

59
tox.ini Normal file
View file

@ -0,0 +1,59 @@
[tox]
envlist = cov-init, py36, py37, noextras, docs, packaging, cov-report
[testenv]
passenv = CI TRAVIS TRAVIS_* CODECOV
whitelist_externals =
bash
make
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/cli_helpers
COVERAGE_FILE = .coverage.{envname}
commands =
pytest --cov-report= --cov=cli_helpers
coverage report
pep8radius master
bash -c 'if [ -n "$CODECOV" ]; then {envbindir}/coverage xml && {envbindir}/codecov; fi'
deps = -r{toxinidir}/requirements-dev.txt
usedevelop = True
[testenv:noextras]
commands =
pip uninstall -y Pygments
{[testenv]commands}
[testenv:docs]
changedir = docs
deps = sphinx
whitelist_externals = make
commands =
make clean
make html
make linkcheck
[testenv:packaging]
deps =
check-manifest
readme_renderer[md]
-r{toxinidir}/requirements-dev.txt
commands =
check-manifest --ignore .travis/*
./setup.py sdist
twine check dist/*
./setup.py check -m -s
[testenv:cov-init]
setenv =
COVERAGE_FILE = .coverage
deps = coverage
commands =
coverage erase
[testenv:cov-report]
setenv =
COVERAGE_FILE = .coverage
deps = coverage
commands =
coverage combine
coverage report