Add new lint and format checks

This commit is contained in:
2026-06-06 07:10:54 +02:00
parent f090643026
commit 09db54e940
2 changed files with 18 additions and 2 deletions
+14
View File
@@ -67,6 +67,20 @@ uv.lock: pyproject.toml
test: uv.lock
uv run --with pytest-django pytest
lint:
uv run ruff check
lint-fix:
uv run ruff check --fix
format:
uv run ruff format
format-check:
uv run ruff format --check
check: lint format-check test
date:
uv run python -c 'import datetime; from zoneinfo import ZoneInfo; print(datetime.datetime.isoformat(datetime.datetime.now(ZoneInfo("Europe/Prague")), timespec="minutes", sep=" "))'