Proper scope for linter exclusion

This commit is contained in:
Joona Hoikkala 2019-08-18 10:34:40 +03:00
parent 06dc56f810
commit 4975d0a273
No known key found for this signature in database
GPG key ID: D5AA86BBF9B29A5C

View file

@ -145,8 +145,7 @@ class ParserNode(object):
"""
# Linter rule exclusion done because of https://github.com/PyCQA/pylint/issues/179
# pylint: disable=abstract-method
@six.add_metaclass(abc.ABCMeta)
@six.add_metaclass(abc.ABCMeta) # pylint: disable=abstract-method
class CommentNode(ParserNode):
"""
CommentNode class is used for representation of comments within the parsed