mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-03 12:00:59 +00:00
style: fix flake8 warning
This commit is contained in:
parent
a6e8a37239
commit
eff139e4fc
2
.flake8
2
.flake8
@ -2,7 +2,7 @@
|
|||||||
ignore =
|
ignore =
|
||||||
# E221: multiple spaces before operator
|
# E221: multiple spaces before operator
|
||||||
E221,
|
E221,
|
||||||
# E241: multiple spaces after comma
|
# E241: multiple spaces after ':'
|
||||||
E241,
|
E241,
|
||||||
# E402: module level import not at top of file
|
# E402: module level import not at top of file
|
||||||
E402,
|
E402,
|
||||||
|
@ -204,7 +204,7 @@ class signal(Syscall):
|
|||||||
def __iter__(self):
|
def __iter__(self):
|
||||||
try:
|
try:
|
||||||
return (yield self)
|
return (yield self)
|
||||||
except:
|
except: # noqa: E722
|
||||||
self.task = None
|
self.task = None
|
||||||
raise
|
raise
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user