diff options
author | Joona Hoikkala <joona@kuori.org> | 2019-08-28 17:37:01 +0300 |
---|---|---|
committer | Joona Hoikkala <joona@kuori.org> | 2019-08-28 17:37:01 +0300 |
commit | f715b012ef29c41a03a029bde97ab6ed34c9854e (patch) | |
tree | 60f56f9ea768a7f3210439f16d739f42f6b7b0c3 /certbot-apache/certbot_apache/interfaces.py | |
parent | e8548c063051524a35ae42bf6d912fd6820433df (diff) |
Skip cover for dummy calls to super
Diffstat (limited to 'certbot-apache/certbot_apache/interfaces.py')
-rw-r--r-- | certbot-apache/certbot_apache/interfaces.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/certbot-apache/certbot_apache/interfaces.py b/certbot-apache/certbot_apache/interfaces.py index 76ab6c846..0ba375795 100644 --- a/certbot-apache/certbot_apache/interfaces.py +++ b/certbot-apache/certbot_apache/interfaces.py @@ -193,7 +193,7 @@ class CommentNode(ParserNode): :param bool dirty: Boolean flag for denoting if this CommentNode has been created or changed after the last save. Default: False. """ - super(CommentNode, self).__init__(**kwargs) + super(CommentNode, self).__init__(**kwargs) # pragma: no cover @six.add_metaclass(abc.ABCMeta) @@ -223,7 +223,9 @@ class DirectiveNode(ParserNode): parameters: Tuple[str, ...] """ + # pylint: disable=useless-super-delegation + @abc.abstractmethod def __init__(self, **kwargs): """ Initializes the DirectiveNode instance and sets its instance variables. @@ -243,7 +245,7 @@ class DirectiveNode(ParserNode): unmatched conditional configuration block. Default: True. """ - super(DirectiveNode, self).__init__(**kwargs) + super(DirectiveNode, self).__init__(**kwargs) # pragma: no cover @abc.abstractmethod def set_parameters(self, parameters): |