You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2021/03/14 12:18:58 UTC

[airflow] branch master updated: Add minimum version of pylint (#14775)

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/master by this push:
     new 87d61dc  Add minimum version of pylint (#14775)
87d61dc is described below

commit 87d61dcbc9b17dd0130ab0bb4124f9eff2187f25
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Sun Mar 14 13:18:42 2021 +0100

    Add minimum version of pylint (#14775)
    
    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 994389a..c1f82d9 100644
--- a/setup.py
+++ b/setup.py
@@ -496,7 +496,7 @@ devel = [
     'paramiko',
     'pipdeptree',
     'pre-commit',
-    'pylint',
+    'pylint>=2.7.0',
     'pysftp',
     'pytest~=6.0',
     'pytest-cov',