diff options
author | Cole Robinson <crobinso@redhat.com> | 2014-03-22 10:01:19 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2014-03-22 10:01:19 -0400 |
commit | d7631268628da1ae102414644add7979ded08bd7 (patch) | |
tree | d622fa57c00b47e08981be4d1e5695e375048d2e | |
parent | bc393b5f1fb53a3a383d6a3da143bc1472f072a0 (diff) | |
download | virt-manager-d7631268628da1ae102414644add7979ded08bd7.tar.gz |
Turn off some warnings with latest pylint
-rw-r--r-- | tests/pylint.cfg | 4 | ||||
-rw-r--r-- | virtinst/virtimage.py | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/pylint.cfg b/tests/pylint.cfg index ac289292..1ff536d5 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 c09428b7..98500e1f 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"] |