From 211cee2f4f482190e7476f2055333157d5d88d68 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Sat, 9 Apr 2022 06:13:40 +0200 Subject: [PATCH] Fix: linting --- bopytex/scheduler.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bopytex/scheduler.py b/bopytex/scheduler.py index 8155f1c..7301381 100644 --- a/bopytex/scheduler.py +++ b/bopytex/scheduler.py @@ -1,9 +1,6 @@ """ Scheduler for action to make """ -from logging import exception - - class Scheduler: def __init__(self, actions: list): self.actions = actions @@ -28,6 +25,7 @@ class Scheduler: def __iter__(self): return self + def __next__(self): return self.next() @@ -53,5 +51,5 @@ class Scheduler: return ans def run(self): - for i in self: + for _ in self: pass