Working pagination and download of book files

This commit is contained in:
2025-08-04 02:12:41 -04:00
parent 4e0997df06
commit 794abb7d28
11 changed files with 2065 additions and 224 deletions

24
Makefile vendored Normal file
View File

@@ -0,0 +1,24 @@
test:
uv run pytest tests
test-cov:
uv run coverage run -m pytest tests
cov-report:
uv run coverage combine && uv run coverage report
cov: test-cov cov-report
typing:
uv run mypy --install-types --non-interactive src/pyshelf tests
style:
uv run ruff . && uv run black --check --diff .
fmt:
uv run black . && uv run ruff --fix . && make style
lint: style typing
compile:
cd src/frontend && sh compile.sh && cd ../..