feat(v2): add secure control plane
This commit is contained in:
@@ -2,7 +2,7 @@ PYTHON ?= .venv/bin/python
|
||||
BOOTSTRAP_PYTHON ?= python3
|
||||
NPM ?= npm
|
||||
|
||||
.PHONY: setup install test-fast lint typecheck frontend-build check-v1-absent check
|
||||
.PHONY: setup install test-fast test-integration test-security lint typecheck frontend-build check-v1-absent check
|
||||
|
||||
setup:
|
||||
test -x $(PYTHON) || $(BOOTSTRAP_PYTHON) -m venv .venv
|
||||
@@ -15,6 +15,12 @@ install: setup
|
||||
test-fast:
|
||||
$(PYTHON) -m pytest tests/unit tests/contract -q
|
||||
|
||||
test-integration:
|
||||
$(PYTHON) -m pytest tests/integration -q
|
||||
|
||||
test-security:
|
||||
$(PYTHON) -m pytest tests/security -q
|
||||
|
||||
lint:
|
||||
$(PYTHON) -m ruff check --config backend/pyproject.toml backend/src backend/alembic tests tools
|
||||
$(PYTHON) -m ruff format --check --config backend/pyproject.toml backend/src backend/alembic tests tools
|
||||
@@ -29,4 +35,4 @@ frontend-build:
|
||||
check-v1-absent:
|
||||
$(PYTHON) tools/forbidden_v1_scan.py .
|
||||
|
||||
check: check-v1-absent test-fast lint typecheck frontend-build
|
||||
check: check-v1-absent test-fast test-integration test-security lint typecheck frontend-build
|
||||
|
||||
Reference in New Issue
Block a user