diff --git a/.flake8 b/.flake8 index 1e5573d242..55ff702f09 100644 --- a/.flake8 +++ b/.flake8 @@ -2,7 +2,7 @@ ignore = # E221: multiple spaces before operator E221, - # E241: multiple spaces after comma + # E241: multiple spaces after ':' E241, # E402: module level import not at top of file E402, diff --git a/src/trezor/loop.py b/src/trezor/loop.py index 5a24c645ad..f22a3bec77 100644 --- a/src/trezor/loop.py +++ b/src/trezor/loop.py @@ -204,7 +204,7 @@ class signal(Syscall): def __iter__(self): try: return (yield self) - except: + except: # noqa: E722 self.task = None raise