zephyr/scripts/dts/python-devicetree
Martí Bolívar a6ed7b262e dtlib: type annotate _err()
Marking this NoReturn helps the type checker figure out that functions
which call it are only returning valid values or failing to
return. (It unfortunately doesn't always work as mypy's control flow
analysis seems to treat a direct 'raise DTError(...)' differently than
calling _err() in some situations, but it helps.)

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-05-05 13:13:12 -05:00
..
src/devicetree dtlib: type annotate _err() 2021-05-05 13:13:12 -05:00
tests dtlib: add Type enum 2021-04-22 15:32:10 +02:00
.gitignore dts: separate DT libraries from gen_defines.py 2021-04-02 08:28:12 -05:00
requirements.txt dts: separate DT libraries from gen_defines.py 2021-04-02 08:28:12 -05:00
setup.py dts: separate DT libraries from gen_defines.py 2021-04-02 08:28:12 -05:00
tox.ini dts: separate DT libraries from gen_defines.py 2021-04-02 08:28:12 -05:00