From 262ac5cc38be020ce85ef9087d122af38679baca Mon Sep 17 00:00:00 2001 From: ITQ Date: Fri, 21 Nov 2025 09:44:44 +0300 Subject: [PATCH] chore: improved Justfile --- .justfile | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.justfile b/.justfile index ab6643e..738ad14 100644 --- a/.justfile +++ b/.justfile @@ -16,7 +16,7 @@ build: [group("Docker")] [doc("Compose start")] up: - docker compose --profile migrations --profile observability up -d --remove-orphans --quiet-pull + docker compose --profile migrations --profile observability up -d --remove-orphans --quiet-pull --force-recreate # ========= # > Tests @@ -29,7 +29,7 @@ tests: just up docker compose --profile migrations --profile tests up tests --remove-orphans --abort-on-container-exit - + # ========= # > Lints # ========= @@ -44,10 +44,21 @@ lint: bandit src tests [no-cd] -[group("Formatters run")] +[group("Formatters")] format: ruff format +# ========= +# > Overall check +# ========= + +[no-cd] +[group("Check")] +[doc("Check before commit")] +check: + just lint + just tests + # ========= # > Migrations # =========