diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e852fac --- /dev/null +++ b/Makefile @@ -0,0 +1,24 @@ +.PHONY: infra up down logs test lint format + +infra: + docker compose up -d redis postgres + +up: + docker compose up -d + +down: + docker compose down + +logs: + docker compose logs -f $(service) + +test: + pytest -v + +lint: + ruff check . + ruff format --check . + +format: + ruff check --fix . + ruff format . |
