Skip to content

Commit 95c567a

Browse files
committed
Avoid noisiness from pylint and the parser's set patterns
1 parent 746a5ad commit 95c567a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

html5lib/html5parser.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,7 @@ def getMetaclass(use_metaclass, metaclass_func):
460460
else:
461461
return type
462462

463+
# pylint:disable=unused-argument
463464
class Phase(with_metaclass(getMetaclass(debug, log))):
464465
"""Base class for helper object that implements each phase of processing
465466
"""
@@ -2765,6 +2766,7 @@ def startTagOther(self, token):
27652766
def processEndTag(self, token):
27662767
self.parser.parseError("expected-eof-but-got-end-tag",
27672768
{"name": token["name"]})
2769+
# pylint:enable=unused-argument
27682770

27692771
return {
27702772
"initial": InitialPhase,

0 commit comments

Comments
 (0)