[buildcore] Remove python -m prefix from mypy command
This commit is contained in:
parent
8769305d12
commit
118fef617f
7
deps/buildcore/base.mk
vendored
7
deps/buildcore/base.mk
vendored
@ -44,6 +44,9 @@ ifdef BC_VAR_USE_DOCKER_DEVENV
|
||||
exit 1
|
||||
endif
|
||||
endif
|
||||
ifndef BC_VAR_DEVENV_ROOT
|
||||
BC_VAR_DEVENV_ROOT="."
|
||||
endif
|
||||
else
|
||||
BC_CMD_PY3=${BC_CMD_HOST_PY3}
|
||||
endif
|
||||
@ -90,7 +93,7 @@ purge:
|
||||
${BC_CMD_RM_RF} compile_commands.json
|
||||
.PHONY: test
|
||||
test: build
|
||||
${BC_CMD_ENVRUN} ${BC_CMD_PY3} -m mypy ${BC_VAR_SCRIPTS}
|
||||
${BC_CMD_ENVRUN} mypy ${BC_VAR_SCRIPTS}
|
||||
${BC_CMD_CMAKE_BUILD} ${BC_VAR_BUILD_PATH} test
|
||||
.PHONY: test-verbose
|
||||
test-verbose: build
|
||||
@ -102,7 +105,7 @@ test-rerun-verbose: build
|
||||
ifdef BC_VAR_USE_DOCKER_DEVENV
|
||||
.PHONY: devenv-image
|
||||
devenv-image:
|
||||
docker build . -t ${BC_VAR_DEVENV_IMAGE}
|
||||
docker build ${BC_VAR_DEVENV_ROOT} -t ${BC_VAR_DEVENV_IMAGE}
|
||||
.PHONY: devenv-create
|
||||
devenv-create:
|
||||
docker run -d \
|
||||
|
Loading…
Reference in New Issue
Block a user