From a8f7bfbbd433993c87c0e89dbdf8f21d05caf948 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=AD=20Bol=C3=ADvar?= Date: Fri, 23 Apr 2021 10:28:40 -0700 Subject: [PATCH] edtlib: silence type checker issue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mypy is complaining about this line for some reason I didn't have time to figure out. Just shut it up for now; I'll look into this when I get around to type annotating edtlib. Signed-off-by: Martí Bolívar --- scripts/dts/python-devicetree/src/devicetree/edtlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dts/python-devicetree/src/devicetree/edtlib.py b/scripts/dts/python-devicetree/src/devicetree/edtlib.py index 14e5ca7975a..f3065b76f85 100644 --- a/scripts/dts/python-devicetree/src/devicetree/edtlib.py +++ b/scripts/dts/python-devicetree/src/devicetree/edtlib.py @@ -79,7 +79,7 @@ try: # This makes e.g. gen_defines.py more than twice as fast. from yaml import CLoader as Loader except ImportError: - from yaml import Loader + from yaml import Loader # type: ignore from devicetree.dtlib import DT, DTError, to_num, to_nums, Type from devicetree.grutils import Graph