[ 
https://issues.apache.org/jira/browse/AIRFLOW-2483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16481047#comment-16481047
 ] 

Kaxil Naik commented on AIRFLOW-2483:
-------------------------------------

Close this as after closer inspection the code was using String comparisons 
hence `==` makes sense

> 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
>            Priority: Minor
>
> 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)

Reply via email to