23 lines
458 B
Makefile
23 lines
458 B
Makefile
all: lint
|
|
|
|
include ../tools/python.mk
|
|
|
|
APP := playout
|
|
PIP_INSTALL := \
|
|
--editable ../api-client \
|
|
--editable ../shared \
|
|
--editable .[dev]
|
|
PYLINT_ARG := libretime_playout tests || true
|
|
MYPY_ARG := libretime_playout tests || true
|
|
BANDIT_ARG := libretime_playout || true
|
|
|
|
format: .format
|
|
lint: .format-check .pylint .mypy .bandit
|
|
test: .pytest
|
|
test-coverage: .coverage
|
|
clean: .clean
|
|
|
|
.PHONY: snapshot
|
|
snapshot: $(VENV)
|
|
$(VENV)/bin/pytest --snapshot-update
|