mik-laj commented on a change in pull request #7484: [AIRFLOW-6864][depends on 
6863] Make airflow/jobs pylint compatible
URL: https://github.com/apache/airflow/pull/7484#discussion_r383009159
 
 

 ##########
 File path: airflow/jobs/scheduler_job.py
 ##########
 @@ -497,13 +500,15 @@ def update_import_errors(session, dagbag):
                 stacktrace=stacktrace))
         session.commit()
 
+    # pylint: 
disable=too-many-return-statements,inconsistent-return-statements,too-many-branches
 
 Review comment:
   Maybe it's worth adding the missing None values so that this method returns 
DagRun or None? This should solve `inconsistent-return-statements` error.

----------------------------------------------------------------
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

Reply via email to