[elbe-devel] [PATCH 66/75] hashes: Fix Pylint
Olivier Dion
dion at linutronix.de
Mon May 25 17:42:59 CEST 2020
27:0: R0205: (useless-object-inheritance)
Signed-off-by: Olivier Dion <dion at linutronix.de>
---
elbepack/hashes.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/elbepack/hashes.py b/elbepack/hashes.py
index e32d7456..1e3ea0a7 100644
--- a/elbepack/hashes.py
+++ b/elbepack/hashes.py
@@ -23,7 +23,8 @@ def validate_sha256(fname, expected_hash):
'file "%s" failed to verify ! got: "%s" expected: "%s"' %
(fname, m.hexdigest(), expected_hash))
-
+# TODO:py3 Remove object inheritance
+# pylint: disable=useless-object-inheritance
class HashValidator(object):
def __init__(self, base_url):
self.hashes = {}
--
2.26.2
More information about the elbe-devel
mailing list