diff --git a/lint-requirements.txt b/lint-requirements.txt new file mode 100644 index 0000000000..3d0d656b86 --- /dev/null +++ b/lint-requirements.txt @@ -0,0 +1,8 @@ +ansible>=4,<6 # GPLv3 +ansible-lint>=4.2.0,!=4.3.0,<6.0.0 # MIT +bandit>=1.1.0 # Apache-2.0 +bashate>=0.5.1 # Apache-2.0 +doc8>=0.6.0 # Apache-2.0 +hacking>=3.0.1,<3.1.0 # Apache-2.0 +reno>=3.1.0 # Apache-2.0 +yamllint>=1.22.0 #GPL3 diff --git a/test-requirements.txt b/test-requirements.txt index 4176d01605..76b4eba12a 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,11 +1,3 @@ -# linting -ansible-lint>=4.2.0,!=4.3.0,<6.0.0 # MIT -bandit>=1.1.0 # Apache-2.0 -bashate>=0.5.1 # Apache-2.0 -doc8>=0.6.0 # Apache-2.0 -hacking>=3.0.1,<3.1.0 # Apache-2.0 -yamllint>=1.22.0 #GPL3 - # coverage testing coverage!=4.4,>=4.0 # Apache-2.0 diff --git a/tox.ini b/tox.ini index 9bf07e99c0..1f85daf106 100644 --- a/tox.ini +++ b/tox.ini @@ -93,8 +93,7 @@ setenv = ANSIBLE_FILTER_PLUGINS = {toxinidir}/ansible/filter_plugins deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} - -r{toxinidir}/test-requirements.txt - -r{toxinidir}/doc/requirements.txt + -r{toxinidir}/lint-requirements.txt allowlist_externals = bash find commands =