Move linters dependencies to tox.ini

That fixes some dependency clashes in py36 job when installing
"pylint" with "astroid" library.

Closes-Bug: #1955724
Change-Id: I7cc4b779c68fe21d6ca50b6c76cdd2b6edaa7ea2
This commit is contained in:
Rodolfo Alonso Hernandez 2021-12-22 02:11:49 +00:00
parent 5c1ad05fe0
commit dfc2c0ef9e
2 changed files with 4 additions and 3 deletions

View File

@ -2,13 +2,10 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
hacking>=3.0.1,<3.1.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
isort==4.3.21 # MIT
python-subunit>=1.0.0 # Apache-2.0/BSD
oslotest>=3.2.0 # Apache-2.0
pylint==2.6.0 # GPLv2
stestr>=2.0.0 # Apache-2.0
testscenarios>=0.4 # Apache-2.0/BSD
testtools>=2.2.0 # MIT

View File

@ -20,11 +20,15 @@ deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
hacking>=3.0.1,<3.1.0 # Apache-2.0
commands = stestr run --slowest {posargs}
[testenv:pep8]
commands = flake8
{toxinidir}/tools/coding-checks.sh --all '{posargs}'
deps =
{[testenv]deps}
pylint==2.5.3 # GPLv2
[testenv:venv]
commands = {posargs}