2022-09-09 11:52:19 +02:00
|
|
|
all: lint test
|
2021-09-10 13:46:47 +02:00
|
|
|
|
2021-10-17 02:46:36 +02:00
|
|
|
include ../tools/python.mk
|
2021-09-10 13:46:47 +02:00
|
|
|
|
2022-07-27 12:44:18 +02:00
|
|
|
PIP_INSTALL := \
|
2024-04-13 19:12:45 +02:00
|
|
|
--editable ../api-client \
|
2022-07-27 12:44:18 +02:00
|
|
|
--editable ../shared \
|
2023-02-26 23:24:29 +01:00
|
|
|
--editable .[dev,sentry]
|
2022-09-09 13:35:21 +02:00
|
|
|
PYLINT_ARG := libretime_worker
|
2022-01-22 16:53:36 +01:00
|
|
|
MYPY_ARG := libretime_worker || true
|
2022-09-09 13:35:21 +02:00
|
|
|
BANDIT_ARG := libretime_worker
|
2021-09-10 13:46:47 +02:00
|
|
|
|
2021-09-13 14:43:18 +02:00
|
|
|
format: .format
|
2022-02-14 17:55:09 +01:00
|
|
|
lint: .format-check .pylint .mypy .bandit
|
2022-09-09 11:52:19 +02:00
|
|
|
test: .pytest
|
2022-12-07 11:42:16 +01:00
|
|
|
test-coverage: .coverage
|
2021-09-10 13:46:47 +02:00
|
|
|
clean: .clean
|