summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Playle <dplayle@bloomberg.net>2018-06-18 13:26:41 +0100
committerDaniel Playle <dplayle@bloomberg.net>2018-06-19 10:02:44 +0100
commit9b08bfe34d1127efd9dab73f60cbaca1457a7b41 (patch)
treec628700aecaaad47f0743566fd6ea72a0f11dde5
parent73b930024d164e076275868253f92a47593f2dd8 (diff)
downloadbuildstream-dp0/pylint_restrict.tar.gz
Restrict version of pylintdp0/pylint_restrict
pylint >2 is not compatible with pytest_pylint in its current form. As such, allowing any version of pylint for testing results in a failure. This commit restricts down the allowable versions of pylint to those that are both compatible with pytest_pylint, and also offer the feature set that we require. See https://gitlab.com/BuildStream/buildstream/issues/427 for further details.
-rwxr-xr-xsetup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 03a2bda3d..1f9ff0081 100755
--- a/setup.py
+++ b/setup.py
@@ -257,5 +257,6 @@ setup(name='BuildStream',
'pytest-cov',
# Provide option to run tests in parallel, less reliable
'pytest-xdist',
- 'pytest >= 3.1.0'],
+ 'pytest >= 3.1.0',
+ 'pylint >= 1.8 , < 2'],
zip_safe=False)