Debian Codegraph @

Makefile

raw
1 .PHONY: check
2 check:
3 uv run ruff format .
4 uv run ruff check . --fix
5 uv run mypy
6 uv run pytest
7
8 .PHONY: init
9 init:
10 docker-compose up -d
11
12 .PHONY: clean
13 clean:
14 docker-compose down
15
16 .PHONY: serve
17 serve:
18 uv run harlequin -P None -a postgres "postgresql://postgres:for-testing@localhost:5432/postgres"
19
20 .PHONY: psql
21 psql:
22 PGPASSWORD=for-testing psql -h localhost -p 5432 -U postgres -E
23
24 profile.html: $(wildcard src/**/*.py)
25 uv run pyinstrument -r html -o profile.html --from-path harlequin -a postgres "postgresql://postgres:for-testing@localhost:5432/postgres"