From 3a8d83b520f4cdc0accd0563249e379837bb399b Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Sun, 14 Mar 2021 13:04:56 +0100 Subject: [PATCH] Add minimum version of pylint We are using some pylint rules that were added in pylint 2.7.0, for example `consider-using-generator`. When older version of pylint is used, it fails with this error: * E0012: Bad option value 'consider-using-generator' (bad-option-value) Adding lower-limit forces the pylint to be upgraded even if someone's image or installation already had pylint installed. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 994389a1a6dcf..c1f82d939168b 100644 --- a/setup.py +++ b/setup.py @@ -496,7 +496,7 @@ def get_sphinx_theme_version() -> str: 'paramiko', 'pipdeptree', 'pre-commit', - 'pylint', + 'pylint>=2.7.0', 'pysftp', 'pytest~=6.0', 'pytest-cov',