mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 10:23:11 +00: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:
parent
0d615b8765
commit
e924ecbdac
9 changed files with 180 additions and 23 deletions
|
@ -0,0 +1,3 @@
|
|||
# parse_options: {"target-version": "3.11"}
|
||||
try: ...
|
||||
except* ValueError: ...
|
Loading…
Add table
Add a link
Reference in a new issue