diff --git a/Makefile b/Makefile index 50c66dd5d58fb852bf43dbfffba43a2b8b81756c..536380d4108daac4334bb122b04ddcea06b6b3a1 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,10 @@ +MYPY ?= mypy PIP ?= pip -q POETRY ?= poetry PYTHON ?= python3.9 VENV ?= venv +mypy = $(MYPY) --config-file mypy.ini pip = python -m $(PIP) poetry = python -m $(POETRY) venv = . $(VENV)/bin/activate && @@ -21,6 +23,7 @@ $(VENV)/touchfile: .PHONY: test test: $(VENV) + $(venv) $(mypy) -p greg $(venv) python manage.py test .PHONY: deps