From 6e9e984e604f0af4bbc3fe021512fddf2141d71c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=AD=20Bol=C3=ADvar?= Date: Thu, 19 Aug 2021 22:08:50 -0700 Subject: [PATCH] dtlib: remove pylint suppression MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This became useless when _init_tokens() was refactored not to use global variables (in "dtlib: use IntEnum for token IDs"), and the linter is complaining about it now. Signed-off-by: Martí Bolívar --- scripts/dts/python-devicetree/src/devicetree/dtlib.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scripts/dts/python-devicetree/src/devicetree/dtlib.py b/scripts/dts/python-devicetree/src/devicetree/dtlib.py index 9105abddcf5..ca0c9e14b96 100644 --- a/scripts/dts/python-devicetree/src/devicetree/dtlib.py +++ b/scripts/dts/python-devicetree/src/devicetree/dtlib.py @@ -3,10 +3,6 @@ # Tip: You can view just the documentation with 'pydoc3 devicetree.dtlib' -# _init_tokens() builds names dynamically. -# -# pylint: disable=undefined-variable - """ A library for extracting information from .dts (devicetree) files. See the documentation for the DT and Node classes for more information.