mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-02 01:42:25 +00:00
Fix ExceptionGroup F821 false positive (#3167)
This commit is contained in:
parent
77d43795f8
commit
ad7ba77fff
4 changed files with 14 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue