Skip to content

Commit 63ce65c

Browse files
committed
Add noqa to silence the linter
1 parent df874a4 commit 63ce65c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

structural-pattern-matching/repl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def main():
3030
except EOFError:
3131
print()
3232
exit()
33-
except:
33+
except: # noqa
3434
traceback.print_exc(file=sys.stdout)
3535

3636

structural-pattern-matching/repl_enhanced.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def main() -> None:
112112
except EOFError:
113113
print()
114114
sys.exit()
115-
except:
115+
except: # noqa
116116
traceback.print_exc(file=sys.stdout)
117117
console.indentation_level = 0
118118
block.lines = []

0 commit comments

Comments
 (0)