You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Kaxil Naik (JIRA)" <ji...@apache.org> on 2018/05/18 00:47:00 UTC

[jira] [Created] (AIRFLOW-2483) Comparison with none performed with equality operators

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)