This commit fixes Python errors and warnings reported by static type checking with mypy.Signed-off-by: Jan Lindemann <jan@janware.com>
This commit fixes Python errors and warnings reported by static type checking with mypy.