mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-02 04:48:07 +00:00
Update RustPython to support *tuple annotations (#3178)
This commit is contained in:
parent
1e7233a8eb
commit
09f8c487ea
3 changed files with 10 additions and 6 deletions
|
|
@ -107,3 +107,7 @@ class Foo:
|
|||
# ANN101
|
||||
def foo(self, /, a: int, b: int) -> int:
|
||||
pass
|
||||
|
||||
|
||||
# OK
|
||||
def f(*args: *tuple[int]) -> None: ...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue