test:
	uv run pytest -m "not online" tests/

test-online:
	uv run pytest -m "online" tests/

formatting:
	uv run black .

check-formatting:
	uv run black . --check

diff-formatting:
	uv run black . --diff

check-code:
	uv run flake8 tests pixls_preprints

check-coverage:
	uv run pytest --cov=pixls_preprints -m "not online" tests

check-coverage-report:
	uv run pytest --cov=pixls_preprints --cov-report term-missing -m "not online" --cov-report=html tests


audit: check-formatting check-code test
