chore: introduce alembic

This commit is contained in:
Leon
2025-07-17 17:25:06 +02:00
parent 1d2da3baab
commit 8f3634d0dc
9 changed files with 416 additions and 2 deletions

View File

@@ -4,16 +4,22 @@ repos:
rev: v5.0.0
hooks:
- id: trailing-whitespace
exclude: ^backend/alembic/
- id: end-of-file-fixer
exclude: ^backend/alembic/
- id: check-yaml
exclude: ^backend/alembic/
- id: check-added-large-files
exclude: ^backend/alembic/
# Backend (Python) specific hooks
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.3
hooks:
- id: ruff-check
args: [ --fix ]
args: [ --fix, --config, backend/pyproject.toml]
files: ^backend/
- id: ruff-format
args: [--config, backend/pyproject.toml]
files: ^backend/