File tree 3 files changed +3
-2
lines changed
3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ def reset(self):
121
121
self .phase .insertHtmlElement ()
122
122
self .resetInsertionMode ()
123
123
else :
124
- self .innerHTML = False
124
+ self .innerHTML = False # pylint:disable=redefined-variable-type
125
125
self .phase = self .phases ["initial" ]
126
126
127
127
self .lastPhase = None
Original file line number Diff line number Diff line change @@ -1716,7 +1716,7 @@ def cdataSectionState(self):
1716
1716
else :
1717
1717
data .append (char )
1718
1718
1719
- data = "" .join (data )
1719
+ data = "" .join (data ) # pylint:disable=redefined-variable-type
1720
1720
# Deal with null here rather than in the parser
1721
1721
nullCount = data .count ("\u0000 " )
1722
1722
if nullCount > 0 :
Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ def __len__(self):
117
117
118
118
class TreeWalker (_base .NonRecursiveTreeWalker ):
119
119
def __init__ (self , tree ):
120
+ # pylint:disable=redefined-variable-type
120
121
if hasattr (tree , "getroot" ):
121
122
self .fragmentChildren = set ()
122
123
tree = Root (tree )
You can’t perform that action at this time.
0 commit comments