[elbe-devel] [PATCH 66/75] hashes: Fix Pylint
Torben Hohn
torben.hohn at linutronix.de
Fri May 29 16:58:52 CEST 2020
On Mon, May 25, 2020 at 11:42:59AM -0400, Olivier Dion wrote:
> 27:0: R0205: (useless-object-inheritance)
>
> Signed-off-by: Olivier Dion <dion at linutronix.de>
Reviewed-by: Torben Hohn <torben.hohn 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
>
>
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel
--
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99
Hinweise zum Datenschutz finden Sie hier (Informations on data privacy
can be found here): https://linutronix.de/kontakt/Datenschutz.php
Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen |
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner
More information about the elbe-devel
mailing list