2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c87986624f | |||
| a404be15b9 |
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
| c87986624f |
py-mods.mk: Add missing py.clean
py.clean is not run for clean target, fix that Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| a404be15b9 |
make, scripts: Add support for static Python typechecking
This commit adds support for static typechecking with mypy. Notable additions: - A new target "check" which does the type checking - Py-mods.mk, meant to be included from a directory containing python modules
in subdirectories, but not being a python module itself. It makes the all
target depend on check only if PY_RUN_CHECK_AFTER_BUILD is defined and
true. That's because pypy is under heavy development, and the Ubuntu 18.04
version is too old to work for lots of the code. Signed-off-by: Jan Lindemann <jan@janware.com> |