File tree Expand file tree Collapse file tree 4 files changed +97
-84
lines changed Expand file tree Collapse file tree 4 files changed +97
-84
lines changed Original file line number Diff line number Diff line change 22from  contextvars  import  copy_context  as  _copy_context 
33import  sys 
44import  typing 
5+ from  typing  import  Annotated   # type: ignore[foo-bar] 
56from  typing  import  Any 
7+ from  typing  import  Awaitable   # type: ignore[123] 
8+ from  typing  import  ByteString   # type: ignore[foo-bar] # noqa F501 
69from  typing  import  Callable   # type: ignore # noqa F401 
10+ from  typing  import  ClassVar   # type: ignore[123] # noqa F123 
711from  typing  import  Coroutine 
812
913import  greenlet   # type: ignore # noqa F401 
1014
1115
1216# keep imports around 
13- a1  =  Any 
14- a2  =  Callable 
15- a3  =  Coroutine 
16- a4  =  _copy_context 
17- a5  =  sys 
18- a6  =  typing 
19- a7  =  asyncio 
17+ vars  =  [
18+     Any ,
19+     Callable ,
20+     Coroutine ,
21+     _copy_context ,
22+     sys ,
23+     typing ,
24+     asyncio ,
25+     Annotated ,
26+     Awaitable ,
27+     ByteString ,
28+     ClassVar ,
29+ ]
Original file line number Diff line number Diff line change 55import  greenlet   # type: ignore # noqa F401 
66from  typing  import  Any 
77from  typing  import  Callable   # type: ignore # noqa F401 
8+ from  typing  import  ByteString   # type: ignore[foo-bar] # noqa F501 
89from  typing  import  Coroutine 
10+ from  typing  import  Annotated   # type: ignore[foo-bar] 
11+ from  typing  import  ClassVar   # type: ignore[123] # noqa F123 
12+ from  typing  import  Awaitable   # type: ignore[123] 
913
1014
1115# keep imports around 
12- a1  =  Any 
13- a2  =  Callable 
14- a3  =  Coroutine 
15- a4  =  _copy_context 
16- a5  =  sys 
17- a6  =  typing 
18- a7  =  asyncio 
16+ vars  =  [
17+     Any ,
18+     Callable ,
19+     Coroutine ,
20+     _copy_context ,
21+     sys ,
22+     typing ,
23+     asyncio ,
24+     Annotated ,
25+     Awaitable ,
26+     ByteString ,
27+     ClassVar ,
28+ ]
Original file line number Diff line number Diff line change 99
1010
1111class  ImportsTest (unittest .TestCase ):
12+     maxDiff  =  None 
13+ 
1214    @contextlib .contextmanager  
1315    def  _capture_stdout (self ):
1416        buf  =  io .StringIO ()
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments