mirror of https://github.com/astral-sh/ruff
test add new edge case
Signed-off-by: 11happy <soni5happy@gmail.com>
This commit is contained in:
parent
472bf6ebfc
commit
181ead1d3d
|
|
@ -44,3 +44,11 @@ invalid-syntax: annotated name `d` can't be global
|
|||
22 |
|
||||
23 | e: int = 1
|
||||
|
|
||||
|
||||
invalid-syntax: annotated name `f` can't be global
|
||||
--> <filename>:28:1
|
||||
|
|
||||
27 | global f
|
||||
28 | f: int
|
||||
| ^
|
||||
|
|
||||
|
|
|
|||
Loading…
Reference in New Issue