Debian Codegraph @

tests/data/cases/standardize_type_comments.py

raw
1 def foo(
2 a, #type:int
3 b, #type: str
4 c, # type: List[int]
5 d, # type: Dict[int, str]
6 e, # type: ignore
7 f, # type : ignore
8 g, # type : ignore
9 ):
10 pass
11
12 # output
13 def foo(
14 a, # type: int
15 b, # type: str
16 c, # type: List[int]
17 d, # type: Dict[int, str]
18 e, # type: ignore
19 f, # type : ignore
20 g, # type : ignore
21 ):
22 pass