Delete crates/ruff_linter/src/snapshots/ruff_linter__linter__tests__semantic_syntax_error_annonated_global.py_3.14.snap

This commit is contained in:
Bhuminjay Soni 2025-12-05 13:59:32 +05:30 committed by GitHub
parent 7c8cf7c4d3
commit 5469fee677
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 46 deletions

View File

@ -1,46 +0,0 @@
---
source: crates/ruff_linter/src/linter.rs
---
invalid-syntax: annotated name `a` can't be global
--> resources/test/fixtures/semantic_errors/annonated_global.py:4:5
|
2 | def f1():
3 | global a
4 | a: str = "foo"
| ^
5 |
6 | b: int = 1
|
invalid-syntax: annotated name `b` can't be global
--> resources/test/fixtures/semantic_errors/annonated_global.py:10:9
|
8 | def inner():
9 | global b
10 | b: str = "nested"
| ^
11 |
12 | c: int = 1
|
invalid-syntax: annotated name `c` can't be global
--> resources/test/fixtures/semantic_errors/annonated_global.py:15:5
|
13 | def f2():
14 | global c
15 | c: list[str] = []
| ^
16 |
17 | d: int = 1
|
invalid-syntax: annotated name `d` can't be global
--> resources/test/fixtures/semantic_errors/annonated_global.py:20:5
|
18 | def f3():
19 | global d
20 | d: str
| ^
21 |
22 | e: int = 1
|