ci-recipes/tox.ini

49 строки
854 B
INI

[tox]
skipsdist=True
envlist=py37,flake8,doclint
[testenv]
whitelist_externals=
pytest
passenv=TRAVIS_EVENT_TYPE
setenv=
ADR_CONFIG_PATH=test/config.toml
commands=pytest -vv -rfx --tb=short {posargs}
[testenv:integration]
whitelist_externals=
pytest
setenv=
TRAVIS_EVENT_TYPE=cron
commands=pytest -vv -rfx --tb=short test/test_recipes_integration.py
[testenv:flake8]
whitelist_externals=
flake8
commands=flake8 recipes test
[testenv:doclint]
# TODO figure out why doclint doesn't pick these up from the virtualenv
deps=
adr
appdirs
docutils
cachy
icecream
loguru
json-e
mozci
orderedset
pyyaml
requests
terminaltables
tqdm
tomlkit
passenv=PYTHONPATH
commands=./doclint
[flake8]
max-line-length = 100
import-order-style = pycharm
application-import-names = ci_info, recipes