From b4d37d8188dbff34f0bf88279eeb5b6cb6d1ff82 Mon Sep 17 00:00:00 2001 From: John Snow Date: Thu, 27 May 2021 17:17:01 -0400 Subject: python: add pylint to pipenv We are specifying >= pylint 2.8.x for several reasons: 1. For setup.cfg support, added in pylint 2.5.x 2. To specify a version that has incompatibly dropped bad-whitespace checks (2.6.x) 3. 2.7.x fixes "unsubscriptable" warnings in Python 3.9 4. 2.8.x adds a new, incompatible 'consider-using-with' warning that must be disabled in some cases. These pragmas cause warnings themselves in 2.7.x. Signed-off-by: John Snow Reviewed-by: Vladimir Sementsov-Ogievskiy Reviewed-by: Cleber Rosa Tested-by: Cleber Rosa Message-id: 20210527211715.394144-18-jsnow@redhat.com Signed-off-by: John Snow --- python/Pipfile | 1 + 1 file changed, 1 insertion(+) (limited to 'python/Pipfile') diff --git a/python/Pipfile b/python/Pipfile index 9534830b5e..285e2c8e67 100644 --- a/python/Pipfile +++ b/python/Pipfile @@ -4,6 +4,7 @@ url = "https://pypi.org/simple" verify_ssl = true [dev-packages] +pylint = ">=2.8.0" [packages] -- cgit 1.4.1