py-defs.mk: Fix: mypy finds modules unter multiple paths

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2024-06-04 08:56:19 +00:00
commit 9a5bc11cd0

View file

@ -25,7 +25,7 @@ ifndef PY_PREREQ_BUILD_DIRS
PY_PREREQ_BUILD_DIRS := $(shell $(proj_query_cmd) proj-dir $(PY_PREREQ_BUILD)) PY_PREREQ_BUILD_DIRS := $(shell $(proj_query_cmd) proj-dir $(PY_PREREQ_BUILD))
endif endif
PY_MYPY ?= mypy --ignore-missing-imports PY_MYPY ?= mypy --ignore-missing-imports --no-namespace-packages
PY_SRC_PY ?= $(wildcard *.py) PY_SRC_PY ?= $(wildcard *.py)
PY_ALL_PY = $(PY_SRC_PY) PY_ALL_PY = $(PY_SRC_PY)