Fix: linting

This commit is contained in:
Bertrand Benjamin 2022-04-09 06:13:40 +02:00
parent 2b0c325203
commit 211cee2f4f

View File

@ -1,9 +1,6 @@
""" Scheduler for action to make """ """ Scheduler for action to make """
from logging import exception
class Scheduler: class Scheduler:
def __init__(self, actions: list): def __init__(self, actions: list):
self.actions = actions self.actions = actions
@ -28,6 +25,7 @@ class Scheduler:
def __iter__(self): def __iter__(self):
return self return self
def __next__(self): def __next__(self):
return self.next() return self.next()
@ -53,5 +51,5 @@ class Scheduler:
return ans return ans
def run(self): def run(self):
for i in self: for _ in self:
pass pass