potiuk 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_r382963088
##########
File path: airflow/jobs/backfill_job.py
##########
@@ -203,18 +204,18 @@ def _update_counters(self, ti_status, session=None):
self.log.debug("Task instance %s succeeded. Don't rerun.", ti)
ti_status.running.pop(key)
continue
- elif ti.state == State.SKIPPED:
+ if ti.state == State.SKIPPED:
Review comment:
pylint suggests it and it's a good suggestion because we have continues in
those ifs which makes elif unnecessary
----------------------------------------------------------------
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