Merge "Move lint requirements to dedicated file"

This commit is contained in:
Zuul 2022-04-12 09:52:21 +00:00 committed by Gerrit Code Review
commit f42efaa043
3 changed files with 9 additions and 10 deletions

8
lint-requirements.txt Normal file

@ -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

@ -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

@ -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 =