Newer
Older
MYPY_OPTS:=--ignore-missing-imports --install-types --non-interactive
all : lint build
build: check
$(POETRY) build
check: lint
$(POETRY) install
$(POETRY) run mypy $(MYPY_OPTS) bitia tests
lint:
$(POETRY) install
$(POETRY) run pylint -E bitia tests
test: lint build
$(POETRY) run pytest tests bitia
fix:
$(POETRY) run black bitia
$(POETRY) run black tests
gr runner gitlab-runner:
gitlab-runner exec docker build --env BITIA_SERVER=$$BITIA_SERVER
gitlab-runner exec docker deploy --env BITIA_SERVER=$$BITIA_SERVER