aboutsummaryrefslogtreecommitdiff
path: root/python/Pipfile
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2021-05-27 17:17:01 -0400
committerJohn Snow <jsnow@redhat.com>2021-06-01 16:21:21 -0400
commitb4d37d8188dbff34f0bf88279eeb5b6cb6d1ff82 (patch)
tree667a7c9cc6389bca3053fc6bf703e1cbc0c187ff /python/Pipfile
parentef42440d797a1549dd64fe2a51500ba55fe54c3f (diff)
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 <jsnow@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Cleber Rosa <crosa@redhat.com> Tested-by: Cleber Rosa <crosa@redhat.com> Message-id: 20210527211715.394144-18-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'python/Pipfile')
-rw-r--r--python/Pipfile1
1 files changed, 1 insertions, 0 deletions
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]