From dd634e123f4570c55553d6ec6614564f394d34f8 Mon Sep 17 00:00:00 2001 From: cknd Date: Fri, 24 Nov 2023 21:16:12 +0100 Subject: [PATCH] Exclude the exceptiongroups demo from linting since the name ExceptionGroup is undefined in older pythons --- demo_exceptiongroups.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/demo_exceptiongroups.py b/demo_exceptiongroups.py index 67aabf2..ff633f5 100644 --- a/demo_exceptiongroups.py +++ b/demo_exceptiongroups.py @@ -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()