Skip to content

Commit

Permalink
Avoid noisiness from pylint and the parser's set patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
gsnedders committed Dec 4, 2015
1 parent 4a75e26 commit 2a61bb6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions html5lib/html5parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,7 @@ def getMetaclass(use_metaclass, metaclass_func):
else:
return type

# pylint:disable=unused-argument
class Phase(with_metaclass(getMetaclass(debug, log))):
"""Base class for helper object that implements each phase of processing
"""
Expand Down Expand Up @@ -2684,6 +2685,7 @@ def startTagOther(self, token):
def processEndTag(self, token):
self.parser.parseError("expected-eof-but-got-end-tag",
{"name": token["name"]})
# pylint:enable=unused-argument

return {
"initial": InitialPhase,
Expand Down

0 comments on commit 2a61bb6

Please sign in to comment.