Files
yamllint/tox.ini
Satoru SATOH 11d90dce62 enhancement: make possible to run tests and related stuff using tox
Make possible to run tests (python setup.py test) and other related
stuff (flake8, doc8 and yamllint) using tox.

Signed-off-by: Satoru SATOH <satoru.satoh@gmail.com>
2020-09-04 02:30:31 +09:00

19 lines
375 B
INI

[tox]
envlist = py27, py34, py35, py36, py37, py38
[testenv]
deps =
-r {toxinidir}/requirements.txt
-r {toxinidir}/tests/requirements.txt
setenv =
PATH = {toxworkdir}/bin{:}{env:PATH}
commands =
flake8 .
/bin/sh -c 'doc8 `git ls-files *.rst`'
/bin/sh -c 'yamllint --strict `git ls-files *.yaml *.yml`'
python setup.py test
# vim:sw=4:ts=4:et: