Skip to content

Commit 3b1f584

Browse files
committed
Avoid noisiness from pylint and the parser's set patterns
1 parent f20e4c4 commit 3b1f584

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

html5lib/html5parser.py

+2
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,7 @@ def getMetaclass(use_metaclass, metaclass_func):
453453
else:
454454
return type
455455

456+
# pylint:disable=unused-argument
456457
class Phase(with_metaclass(getMetaclass(debug, log))):
457458
"""Base class for helper object that implements each phase of processing
458459
"""
@@ -2683,6 +2684,7 @@ def startTagOther(self, token):
26832684
def processEndTag(self, token):
26842685
self.parser.parseError("expected-eof-but-got-end-tag",
26852686
{"name": token["name"]})
2687+
# pylint:enable=unused-argument
26862688

26872689
return {
26882690
"initial": InitialPhase,

0 commit comments

Comments
 (0)