Fix: linting
This commit is contained in:
parent
2b0c325203
commit
211cee2f4f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user