Skip to content

Commit

Permalink
Exclude the exceptiongroups demo from linting since the name Exceptio…
Browse files Browse the repository at this point in the history
…nGroup is undefined in older pythons
  • Loading branch information
cknd committed Nov 24, 2023
1 parent b1356bd commit dd634e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion demo_exceptiongroups.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# flake8: noqa

# Exception groups (new in py 3.11) aren't supported so far,
# but at least we fall back on the default message.


import stackprinter
stackprinter.set_excepthook()

Expand Down

0 comments on commit dd634e1

Please sign in to comment.