ansible-later/tox.ini

47 lines
918 B
INI
Raw Normal View History

2018-12-19 10:19:07 +00:00
[tox]
2019-01-28 15:37:04 +00:00
minversion = 3.5
envlist = py27-ansible{21},py{27,35,36,37}-ansible{22,23,24,25,26,27},py{27,35,36,37}-flake8
2019-01-28 21:47:57 +00:00
isolated_build = True
2018-12-19 10:19:07 +00:00
[testenv]
deps =
2019-01-28 21:52:22 +00:00
flake8
pep8-naming
wheel
flake8-colors
pytest
2018-12-19 10:19:07 +00:00
ansible21: ansible>=2.1,<2.2
ansible22: ansible>=2.2,<2.3
ansible23: ansible>=2.3,<2.4
ansible24: ansible>=2.4,<2.5
ansible25: ansible>=2.5,<2.6
ansible26: ansible>=2.6,<2.7
ansible27: ansible>=2.7,<2.8
commands = ansible-later -c tests/config/config.ini tests/data/yaml_success.yml
passenv = HOME
[testenv:py27-flake8]
commands = flake8 ansiblelater
usedevelop = True
[testenv:py36-flake8]
commands = flake8 ansiblelater
usedevelop = True
[flake8]
2019-01-28 22:01:34 +00:00
ignore = E501, W503, F401, N813
2018-12-19 10:19:07 +00:00
exclude =
.tox,
.git,
__pycache__,
build,
dist,
tests/fixtures/*,
*.pyc,
*.egg-info,
.cache,
.eggs
format = %(path)s:%(row)d:%(col)d: ${red}%(code)s %(text)s${reset}