3d67e9e0 |
[tox] |
74f07c66 |
envlist = py26,py27,py35,py36 |
286d91d7 |
|
3d67e9e0 |
[testenv] |
7ab4a889 |
deps = -c{toxinidir}/test/runner/requirements/constraints.txt
-r{toxinidir}/test/runner/requirements/ansible-test.txt
-r{toxinidir}/test/runner/requirements/sanity.txt
-r{toxinidir}/test/runner/requirements/units.txt |
a0fc8bb0 |
commands = |
87cb7f81 |
python --version |
7ab4a889 |
# The recommended method of running tests with tox is to execute
# ansible-test directly and use the --tox and --python options.
# The commands below are provided as a convenience for those who
# prefer to run tox directly instead of through ansible-test.
{toxinidir}/test/runner/ansible-test compile --python default -v
{toxinidir}/test/runner/ansible-test sanity --python default -v
{toxinidir}/test/runner/ansible-test units --python default -v |
e8a94acf |
passenv =
# Pass HOME to the test environment to avoid the missing HOME env
# variable error. See issue: #20424
HOME |
ab44cf2a |
[flake8]
# These are things that the devs don't agree make the code more readable |
ed52714d |
# E402 module level import not at top of file |
a936ea13 |
ignore = E402 |
ab44cf2a |
# not all the devs believe in 80 column line length
max-line-length = 160 |