Files
opensearch-pyd/tox.ini
T
2020-03-09 13:54:47 -05:00

33 lines
634 B
INI

[tox]
envlist = pypy,py27,py34,py35,py36,py37,py38,lint,docs
[testenv]
whitelist_externals = git
setenv =
NOSE_XUNIT_FILE = junit-{envname}.xml
commands =
python setup.py test
[testenv:lint]
deps =
flake8
black
commands =
black --target-version=py27 \
elasticsearch/ \
test_elasticsearch/ \
setup.py
black --target-version=py27 --check \
elasticsearch/ \
test_elasticsearch/ \
setup.py
flake8 \
elasticsearch/ \
test_elasticsearch/
[testenv:docs]
deps =
sphinx
sphinx-rtd-theme
commands =
sphinx-build docs/ docs/_build -b html