chore(*): adopt project templates

This commit is contained in:
hh
2026-09-09 01:17:12 +02:00
parent 5ec0212af5
commit ccbc167005
33 changed files with 409 additions and 220 deletions
+18 -22
View File
@@ -1,31 +1,27 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.15
hooks:
- id: ruff-check
types_or: [ python, pyi ]
args: [ --fix ]
- id: ruff-format
types_or: [ python, pyi ]
- repo: local
hooks:
- id: ultracite
name: ultracite
entry: bash -c 'cd frontend && bun x ultracite fix'
- id: backend-fmt
name: backend fmt
entry: make -C backend fmt
language: system
files: ^backend/
pass_filenames: false
- id: backend-check
name: backend check
entry: make -C backend check
language: system
files: ^backend/
pass_filenames: false
- id: frontend-fmt
name: frontend fmt
entry: make -C frontend fmt
language: system
files: ^frontend/
pass_filenames: false
- id: svelte-check
name: svelte check
entry: bash -c 'cd frontend && bun check'
- id: frontend-check
name: frontend check
entry: make -C frontend check
language: system
files: ^frontend/
pass_filenames: false
- id: ty
name: ty check
entry: uvx ty check
language: python
types_or: [ python, pyi ]