chore: enforce linting as part of build

This commit is contained in:
Bu5hm4nn
2026-03-24 00:26:36 +01:00
parent de03bd0064
commit 140a21c0b6
8 changed files with 58 additions and 47 deletions

View File

@@ -1,4 +1,4 @@
.PHONY: install dev test build deploy
.PHONY: install dev lint test build deploy
install:
python3 -m venv .venv
@@ -7,10 +7,14 @@ install:
dev:
. .venv/bin/activate && python -m uvicorn app.main:app --reload --host 0.0.0.0 --port 8000
lint:
. .venv/bin/activate && ruff check app tests scripts
. .venv/bin/activate && black --check app tests scripts
test:
. .venv/bin/activate && pytest
build:
build: lint
docker build -t vault-dash .
deploy: