Use shared makefile de requirements

This commit is contained in:
jo 2021-09-13 14:22:48 +02:00
parent 5753fc34a4
commit 6b7658d5a7
3 changed files with 11 additions and 6 deletions

View file

@ -8,12 +8,21 @@ CPU_CORES = $(shell nproc)
# MYPY_ARG =
# PYTEST_ARG =
SHARED_DEV_REQUIREMENTS = \
black \
isort \
mypy \
pylint \
pytest \
pytest-cov \
pytest-xdist
VENV = venv
$(VENV):
python3 -m venv $(VENV)
source $(VENV)/bin/activate
pip install --upgrade pip setuptools wheel
pip install $(PIP_INSTALL)
pip install $(SHARED_DEV_REQUIREMENTS) $(PIP_INSTALL)
.PHONY: .format
.format: $(VENV)