mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Working pagination and download of book files
This commit is contained in:
24
Makefile
vendored
Normal file
24
Makefile
vendored
Normal 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 ../..
|
||||
Reference in New Issue
Block a user