18 lines
347 B
Makefile
18 lines
347 B
Makefile
all: lint test
|
|
|
|
include ../tools/python.mk
|
|
|
|
PIP_INSTALL := --editable .[dev]
|
|
PYLINT_ARG := libretime_analyzer tests || true
|
|
MYPY_ARG := libretime_analyzer tests || true
|
|
PYTEST_ARG := --cov=libretime_analyzer tests
|
|
|
|
format: .format
|
|
lint: .format-check .pylint .mypy
|
|
|
|
fixtures:
|
|
bash tests/fixtures/generate.sh
|
|
|
|
test: fixtures .pytest
|
|
clean: .clean
|