airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kaxil Naik (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AIRFLOW-2483) Comparison with none performed with equality operators
Date Fri, 18 May 2018 00:47:00 GMT
Kaxil Naik created AIRFLOW-2483:
-----------------------------------

             Summary: Comparison with none performed with equality operators
                 Key: AIRFLOW-2483
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2483
             Project: Apache Airflow
          Issue Type: Improvement
    Affects Versions: 1.9.0
            Reporter: Kaxil Naik
            Assignee: Kaxil Naik


Comparison with None performed with equality operators.

PEP 8 explicitly states that "comparisons to singletons like None should always be done with
is or is not, never the equality operators."



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message