Files
beavergram/.pre-commit-config.yaml
T
2026-05-28 21:59:44 +02:00

32 lines
755 B
YAML

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'
language: system
files: ^frontend/
pass_filenames: false
- id: svelte-check
name: svelte check
entry: bash -c 'cd frontend && bun check'
language: system
files: ^frontend/
pass_filenames: false
- id: ty
name: ty check
entry: uvx ty check
language: python
types_or: [ python, pyi ]