Skip to content

Commit

Permalink
put w/ space around == operator as advised by flake8 test
Browse files Browse the repository at this point in the history
Reference: #3321 (comment)
  • Loading branch information
tashrifbillah authored Nov 10, 2024
1 parent 54889b3 commit a0c6604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luigi/db_task_history.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def find_task_by_task_id(self, task_id, session=None):
Find task with the given task ID.
"""
with self._session(session) as session:
return session.query(TaskRecord).filter(TaskRecord.task_id==task_id).all()[-1]
return session.query(TaskRecord).filter(TaskRecord.task_id == task_id).all()[-1]


class TaskParameter(Base): # type: ignore
Expand Down

0 comments on commit a0c6604

Please sign in to comment.