File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -460,7 +460,7 @@ def _normalize_attr_value(x: TagAttrValue) -> Optional[str]:
460460            return  "" 
461461        if  isinstance (x , (int , float )):
462462            return  str (x )
463-         if  isinstance (x , (HTML , str )):
463+         if  isinstance (x , (HTML , str )):   # type: ignore[reportUnnecessaryIsInstance] 
464464            return  x 
465465        raise  TypeError (
466466            f"Invalid type for attribute: { type (x )}  ." 
@@ -1512,7 +1512,7 @@ def as_html_tags(
15121512        Render the dependency as a ``TagList()``. 
15131513        """ 
15141514        d  =  self .as_dict (lib_prefix = lib_prefix , include_version = include_version )
1515-         metas  =  [Tag ("meta" , ** m ) for  m  in  self .meta ]
1515+         metas  =  [Tag ("meta" , ** m ) for  m  in  self .meta ]   # type: ignore 
15161516        links  =  [Tag ("link" , ** s ) for  s  in  d ["stylesheet" ]]
15171517        scripts  =  [Tag ("script" , ** s ) for  s  in  d ["script" ]]
15181518        return  TagList (* metas , * links , * scripts , self .head )
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments