diff options
| author | John Snow <jsnow@redhat.com> | 2021-05-27 17:17:01 -0400 |
|---|---|---|
| committer | John Snow <jsnow@redhat.com> | 2021-06-01 16:21:21 -0400 |
| commit | b4d37d8188dbff34f0bf88279eeb5b6cb6d1ff82 (patch) | |
| tree | 667a7c9cc6389bca3053fc6bf703e1cbc0c187ff /python/Pipfile | |
| parent | ef42440d797a1549dd64fe2a51500ba55fe54c3f (diff) | |
| download | focaccia-qemu-b4d37d8188dbff34f0bf88279eeb5b6cb6d1ff82.tar.gz focaccia-qemu-b4d37d8188dbff34f0bf88279eeb5b6cb6d1ff82.zip | |
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/Pipfile | 1 |
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] |