-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
44 lines (30 loc) · 745 Bytes
/
Makefile
File metadata and controls
44 lines (30 loc) · 745 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
.PHONY: test clean dev docker-up docker-down docker-logs docker-build test-api verify-scout lint format typecheck check
test:
pytest
clean:
rm -rf .pytest_cache .mypy_cache .ruff_cache .coverage htmlcov __pycache__
find . -type d -name "__pycache__" -exec rm -rf {} + 2>/dev/null || true
dev:
python manage.py runserver
docker-build:
docker compose build
docker-up:
docker compose up -d
docker-down:
docker compose down
docker-logs:
docker compose logs -f
test-api:
./scripts/test-api.sh
verify-scout:
./scripts/verify-scout.sh
lint:
ruff check apps tests
ruff format --check apps tests
format:
ruff check --fix apps tests
ruff format apps tests
typecheck:
mypy apps
check: lint typecheck test
.DEFAULT_GOAL := test