Fix ExceptionGroup F821 false positive (#3167)

This commit is contained in:
Jonathan Plasse 2023-02-23 13:36:11 +01:00 committed by GitHub
parent 77d43795f8
commit ad7ba77fff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 0 deletions

View file

@ -3,6 +3,7 @@ pub const BUILTINS: &[&str] = &[
"AssertionError",
"AttributeError",
"BaseException",
"BaseExceptionGroup",
"BlockingIOError",
"BrokenPipeError",
"BufferError",
@ -15,8 +16,10 @@ pub const BUILTINS: &[&str] = &[
"DeprecationWarning",
"EOFError",
"Ellipsis",
"EncodingWarning",
"EnvironmentError",
"Exception",
"ExceptionGroup",
"False",
"FileExistsError",
"FileNotFoundError",