[elbe-devel] [PATCH 35/75] toolchain: Fix Pylint

Olivier Dion dion at linutronix.de
Mon May 25 17:42:28 CEST 2020


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

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

diff --git a/elbepack/toolchain.py b/elbepack/toolchain.py
index c5e631ac..aa804206 100644
--- a/elbepack/toolchain.py
+++ b/elbepack/toolchain.py
@@ -4,13 +4,16 @@
 #
 # SPDX-License-Identifier: GPL-3.0-or-later
 
+# pylint: disable=deprecated-module
 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.26.2




More information about the elbe-devel mailing list