1
0
Fork 0

Adding upstream version 1.1.1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-24 20:22:59 +01:00
parent 9c1e264be3
commit f19547bec9
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
22 changed files with 4449 additions and 0 deletions

25
Makefile Normal file
View file

@ -0,0 +1,25 @@
.PHONY: check
check:
ruff format .
ruff check . --fix
mypy
pytest
.PHONY: init
init:
docker-compose up -d
.PHONY: clean
clean:
docker-compose down
.PHONY: serve
serve:
harlequin -P None -a postgres "postgresql://postgres:for-testing@localhost:5432/postgres"
.PHONY: psql
psql:
PGPASSWORD=for-testing psql -h localhost -p 5432 -U postgres
profile.html: $(wildcard src/**/*.py)
pyinstrument -r html -o profile.html --from-path harlequin -a postgres "postgresql://postgres:for-testing@localhost:5432/postgres"