Skip to content

Commit

Permalink
fix C0121 (#150)
Browse files Browse the repository at this point in the history
fix comparison
  • Loading branch information
gtrevisan authored May 17, 2024
1 parent 0a0f295 commit 958bedf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion disruption_py/shots/helpers/method_optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def run_methods_sync(self, method_executor: Callable[[CachedMethodProps], None])
while True:
# get next method
next_method: CachedMethodProps = self.next_method()
if next_method == None:
if next_method is None:
break

# run method
Expand Down

0 comments on commit 958bedf

Please sign in to comment.