mirror of
https://github.com/khoaliber/LetterFeed.git
synced 2026-03-02 13:18:27 +00:00
chore: introduce alembic
This commit is contained in:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user