Add a file to be included from every toplevel Makefile of every repo that owns Python code. It defines the following targets:
py-check: py-check-syntax py-check-format py-check-syntax: py-check-format: py-format:
Currently, only mypy is run from py-check-syntax, but the targets are meant as entry point for further linter jobs in the future.
There's also
py-format-assignments:
which is meant to add spaces around "=" in multi-line assignment blocks, but, pending future experiments, I thing that target is going to be removed again. Left in for now.
Signed-off-by: Jan Lindemann <jan@janware.com>