Change pylint requirement

pylint 2.0.0 and newer releases do not support Python 2, which breaks
Python 2 tests. This patch changes the requirement for pylint to use
version 1.9.1. The requirement is moved out of test-requirements.txt,
since pylint is not tracked in global requirements.

Change-Id: I2464ff2fc56b7fe7a92c40ec1555880f4e220479
This commit is contained in:
Hiroaki Kobayashi 2018-07-17 11:14:25 +09:00 committed by Pierre Riteau
parent 72202c9fd3
commit 84785b7dde
2 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,6 @@ testrepository>=0.0.18 # Apache-2.0/BSD
testscenarios>=0.4 # Apache-2.0/BSD
testtools>=2.2.0 # MIT
coverage!=4.4,>=4.0 # Apache-2.0
pylint>=1.9.1 # GPLv2
oslotest>=3.2.0 # Apache-2.0
oslo.context>=2.19.2 # Apache-2.0

View File

@ -55,6 +55,8 @@ local-check-factory = blazar.hacking.checks.factory
[testenv:pylint]
basepython = python3
deps = -r{toxinidir}/requirements.txt
pylint==1.9.1
commands = pylint blazar
[testenv:releasenotes]