[elbe-devel] [PATCH v2 29/66] toolchain: Fix Pylint

Olivier Dion dion at linutronix.de
Fri Jun 5 19:06:53 CEST 2020


7:0:  W0402: (deprecated-module)
14:0: R0205: (useless-object-inheritance)

Signed-off-by: Olivier Dion <dion at linutronix.de>
Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>
---
 elbepack/toolchain.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/elbepack/toolchain.py b/elbepack/toolchain.py
index c5e631ac..c4a8ec92 100644
--- a/elbepack/toolchain.py
+++ b/elbepack/toolchain.py
@@ -5,12 +5,14 @@
 # SPDX-License-Identifier: GPL-3.0-or-later
 
 import string
+
 import glob
 import os
 
 arch2triple = {"armhf": "arm-linux-gnueabihf", "armel": "arm-linux-gnueabi"}
 
-
+# TODO:py3 Remove object inheritance
+# pylint: disable=useless-object-inheritance
 class Toolchain(object):
     libc_path = "${triple}/libc"
     gcc_libpath = "${triple}/lib"
-- 
2.27.0




More information about the elbe-devel mailing list