File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ def reset(self):
121121 self .phase .insertHtmlElement ()
122122 self .resetInsertionMode ()
123123 else :
124- self .innerHTML = False
124+ self .innerHTML = False # pylint:disable=redefined-variable-type
125125 self .phase = self .phases ["initial" ]
126126
127127 self .lastPhase = None
Original file line number Diff line number Diff line change @@ -1716,7 +1716,7 @@ def cdataSectionState(self):
17161716 else :
17171717 data .append (char )
17181718
1719- data = "" .join (data )
1719+ data = "" .join (data ) # pylint:disable=redefined-variable-type
17201720 # Deal with null here rather than in the parser
17211721 nullCount = data .count ("\u0000 " )
17221722 if nullCount > 0 :
Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ def __len__(self):
117117
118118class TreeWalker (_base .NonRecursiveTreeWalker ):
119119 def __init__ (self , tree ):
120+ # pylint:disable=redefined-variable-type
120121 if hasattr (tree , "getroot" ):
121122 self .fragmentChildren = set ()
122123 tree = Root (tree )
You can’t perform that action at this time.
0 commit comments