diff --git a/tests/pylint.cfg b/tests/pylint.cfg index ac2892924..1ff536d58 100644 --- a/tests/pylint.cfg +++ b/tests/pylint.cfg @@ -39,6 +39,8 @@ load-plugins= # C0111: No docstring # C0301: Line too long # C0302: Too many lines in module +# C0325: Superfluous parens +# C0326: Bad whitespace # I0011: Warn about locally disabled pylint msgs # R0201: Method could be a function # @@ -54,7 +56,7 @@ load-plugins= # W1001: Use of 'property' on old style class, # pylint can't detect our Gtk subclasses are new style # W0511: FIXME and XXX: messages -disable=Design,Similarities,C0103,C0111,C0301,C0302,I0011,R0201,W0108,W0142,W0603,W0702,W0703,W1401,W1001,W0511 +disable=Design,Similarities,C0103,C0111,C0301,C0302,C0325,C0326,I0011,R0201,W0108,W0142,W0603,W0702,W0703,W1401,W1001,W0511 [REPORTS] diff --git a/virtinst/virtimage.py b/virtinst/virtimage.py index c09428b7a..98500e1fa 100644 --- a/virtinst/virtimage.py +++ b/virtinst/virtimage.py @@ -260,7 +260,7 @@ class Disk(object): if hashlib: if "sha256" in self.csum: csumvalue = self.csum["sha256"] - m = hashlib.sha256() # pylint: disable-msg=E1101 + m = hashlib.sha256() # pylint: disable=E1101 elif "sha1" in self.csum: csumvalue = self.csum["sha1"]