BasPH commented on issue #5440: [AIRFLOW-4819] Fix singleton-comparision errors in pylint URL: https://github.com/apache/airflow/pull/5440#issuecomment-504644455 @mik-laj FYI SQLAlchemy has some linter-friendly functions to avoid e.g. `== None` and make linters happy: ```python query.filter(User.name == None) # linter friendly equivalent: query.filter(User.name.is_(None)) ``` More here: https://docs.sqlalchemy.org/en/13/orm/tutorial.html#common-filter-operators
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
