Use basepython of 2.7
This commit is contained in:
parent
106832eaae
commit
24900f4e52
4
tox.ini
4
tox.ini
@ -23,12 +23,12 @@ deps =
|
|||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
basepython = python3
|
basepython = python2.7
|
||||||
commands =
|
commands =
|
||||||
flake8 {posargs}
|
flake8 {posargs}
|
||||||
|
|
||||||
[testenv:alint]
|
[testenv:alint]
|
||||||
basepython = python3
|
basepython = python2.7
|
||||||
# ansible-lint doesn't support custom modules, so add ours to the Ansible path.
|
# ansible-lint doesn't support custom modules, so add ours to the Ansible path.
|
||||||
setenv = ANSIBLE_LIBRARY = {toxinidir}/ansible/action_plugins/
|
setenv = ANSIBLE_LIBRARY = {toxinidir}/ansible/action_plugins/
|
||||||
# Exclude roles downloaded from Galaxy (in the form 'author.role') from
|
# Exclude roles downloaded from Galaxy (in the form 'author.role') from
|
||||||
|
Loading…
x
Reference in New Issue
Block a user