From 6b3974eb93ae8279d97d6fe9b5ac228e51815254 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Fri, 1 Dec 2023 00:51:00 -0600 Subject: [PATCH] [buildcore] Make mypy run with python3 -m --- deps/buildcore/base.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/buildcore/base.mk b/deps/buildcore/base.mk index f54ebf11..5a3bdea3 100644 --- a/deps/buildcore/base.mk +++ b/deps/buildcore/base.mk @@ -89,7 +89,7 @@ purge: ${BC_CMD_RM_RF} compile_commands.json .PHONY: test test: build - ${BC_CMD_ENVRUN} mypy ${BC_VAR_SCRIPTS} + ${BC_CMD_ENVRUN} python3 -m mypy ${BC_VAR_SCRIPTS} ${BC_CMD_CMAKE_BUILD} ${BC_VAR_BUILD_PATH} test .PHONY: test-verbose test-verbose: build