Skip to content

Commit 2a61bb6

Browse files
committed
Avoid noisiness from pylint and the parser's set patterns
1 parent 4a75e26 commit 2a61bb6

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
"""
@@ -2684,6 +2685,7 @@ def startTagOther(self, token):
26842685
def processEndTag(self, token):
26852686
self.parser.parseError("expected-eof-but-got-end-tag",
26862687
{"name": token["name"]})
2688+
# pylint:enable=unused-argument
26872689

26882690
return {
26892691
"initial": InitialPhase,

0 commit comments

Comments
 (0)