File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 99# For static type checking with Mypy 
1010MYPY  =  False 
1111if  MYPY :
12-     from  typing  import  Dict , Callable 
12+     from  typing  import  Dict , Callable    # NOQA 
1313
1414
1515class  InputObjectTypeOptions (BaseOptions ):
Original file line number Diff line number Diff line change 77# For static type checking with Mypy 
88MYPY  =  False 
99if  MYPY :
10-     from  typing  import  Dict 
10+     from  typing  import  Dict    # NOQA 
1111
1212
1313class  InterfaceOptions (BaseOptions ):
Original file line number Diff line number Diff line change 1111# For static type checking with Mypy 
1212MYPY  =  False 
1313if  MYPY :
14-     from  .argument  import  Argument 
15-     from  typing  import  Dict , Type , Callable 
14+     from  .argument  import  Argument    # NOQA 
15+     from  typing  import  Dict , Type , Callable    # NOQA 
1616
1717
1818class  MutationOptions (ObjectTypeOptions ):
Original file line number Diff line number Diff line change 88# For static type checking with Mypy 
99MYPY  =  False 
1010if  MYPY :
11-     from  typing  import  Dict , Iterable , Type 
11+     from  typing  import  Dict , Iterable , Type    # NOQA 
1212
1313
1414class  ObjectTypeOptions (BaseOptions ):
Original file line number Diff line number Diff line change 55# For static type checking with Mypy 
66MYPY  =  False 
77if  MYPY :
8-     from  .objecttype  import  ObjectType 
9-     from  typing  import  Iterable , Type 
8+     from  .objecttype  import  ObjectType    # NOQA 
9+     from  typing  import  Iterable , Type    # NOQA 
1010
1111
1212class  UnionOptions (BaseOptions ):
@@ -42,6 +42,6 @@ def get_type(cls):
4242
4343    @classmethod  
4444    def  resolve_type (cls , instance , info ):
45-         from  .objecttype  import  ObjectType 
45+         from  .objecttype  import  ObjectType    # NOQA 
4646        if  isinstance (instance , ObjectType ):
4747            return  type (instance )
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments