-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
febc69a
commit 57915b4
Showing
9 changed files
with
581 additions
and
94 deletions.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
crates/ruff_linter/resources/test/fixtures/flake8_type_checking/quote.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
def f(): | ||
from pandas import DataFrame | ||
|
||
def baz() -> DataFrame: | ||
... | ||
|
||
|
||
def f(): | ||
from pandas import DataFrame | ||
|
||
def baz() -> DataFrame[int]: | ||
... | ||
|
||
|
||
def f(): | ||
from pandas import DataFrame | ||
|
||
def baz() -> DataFrame["int"]: | ||
... | ||
|
||
|
||
def f(): | ||
import pandas as pd | ||
|
||
def baz() -> pd.DataFrame: | ||
... | ||
|
||
|
||
def f(): | ||
import pandas as pd | ||
|
||
def baz() -> pd.DataFrame.Extra: | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.