Skip to content

Commit dd634e1

Browse files
committed
Exclude the exceptiongroups demo from linting since the name ExceptionGroup is undefined in older pythons
1 parent b1356bd commit dd634e1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

demo_exceptiongroups.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
# flake8: noqa
2+
13
# Exception groups (new in py 3.11) aren't supported so far,
24
# but at least we fall back on the default message.
35

4-
56
import stackprinter
67
stackprinter.set_excepthook()
78

0 commit comments

Comments
 (0)