2016-12-21 17:15:42 -05:00
|
|
|
[tox]
|
|
|
|
|
minversion=2.3.1
|
|
|
|
|
envlist =
|
2017-03-06 12:39:20 -05:00
|
|
|
py{27,35}-{flake8,pylint,unit}
|
|
|
|
|
py27-{yamllint,ansible_syntax,generate_validation}
|
2016-12-21 17:15:42 -05:00
|
|
|
skipsdist=True
|
|
|
|
|
skip_missing_interpreters=True
|
|
|
|
|
|
|
|
|
|
[testenv]
|
2017-03-06 12:39:20 -05:00
|
|
|
skip_install=True
|
2016-12-21 17:15:42 -05:00
|
|
|
deps =
|
2017-03-06 12:39:20 -05:00
|
|
|
-rrequirements.txt
|
2016-12-21 17:15:42 -05:00
|
|
|
-rtest-requirements.txt
|
2017-04-13 13:36:14 -04:00
|
|
|
py35-flake8: flake8-bugbear==17.3.0
|
2016-12-21 17:15:42 -05:00
|
|
|
|
|
|
|
|
commands =
|
2017-03-06 12:39:20 -05:00
|
|
|
unit: pip install -e utils
|
2017-02-19 22:43:56 +01:00
|
|
|
unit: pytest {posargs}
|
|
|
|
|
flake8: flake8 {posargs}
|
2016-12-21 17:15:42 -05:00
|
|
|
pylint: python setup.py lint
|
|
|
|
|
yamllint: python setup.py yamllint
|
2017-01-18 10:04:09 -05:00
|
|
|
generate_validation: python setup.py generate_validation
|
2017-03-06 12:39:20 -05:00
|
|
|
# TODO(rhcarvalho): check syntax of other important entrypoint playbooks
|
2017-04-17 13:30:21 -04:00
|
|
|
ansible_syntax: python setup.py ansible_syntax
|