From 21a478e3c87f6c910aa8b293ee50f7c8480273e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=AD=20Bol=C3=ADvar?= Date: Wed, 23 Jun 2021 07:03:26 +0200 Subject: [PATCH] tox: fix mypy Recent versions of mypy have learned that the yaml module has type stubs and the tool is now erroring out when it discovers we import yaml since the stubs are not involved. This is breaking CI on unrelated patches; fix it following the instructions here: https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports Based on: https://github.com/zephyrproject-rtos/zephyr/commit/8875340db4dd55ad89e174e7124b7cfb2b3db717 Signed-off-by: Michael Zimmermann --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 2b7e578..eb12a1a 100644 --- a/tox.ini +++ b/tox.ini @@ -29,6 +29,7 @@ deps = setuptools-scm pytest pytest-cov + types-PyYAML flake8 mypy setenv =