python-devicetree: 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 Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
parent
bb718ebe68
commit
8875340db4
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@ envlist=py3
|
|||
deps =
|
||||
setuptools-scm
|
||||
pytest
|
||||
types-PyYAML
|
||||
mypy
|
||||
setenv =
|
||||
TOXTEMPDIR={envtmpdir}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue