mirror of
https://github.com/astral-sh/ruff
synced 2026-01-06 22:24:05 -05:00
[syntax-errors] except* before Python 3.11 (#16446)
Summary -- One of the simpler ones, just detect the use of `except*` before 3.11. Test Plan -- New inline tests.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
# parse_options: {"target-version": "3.10"}
|
||||
try: ...
|
||||
except* ValueError: ...
|
||||
Reference in New Issue
Block a user