Files
wizarr/.pre-commit-config.yaml

37 lines
868 B
YAML

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.0
hooks:
- id: ruff
args: [--fix]
- id: ruff-format
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-yaml
- id: check-added-large-files
- id: check-merge-conflict
- repo: https://github.com/djlint/djLint
rev: v1.36.4
hooks:
- id: djlint-reformat-jinja
args: [--lint --reformat --format-css --format-js]
- repo: local
hooks:
- id: pytest
name: pytest
entry: uv run pytest
language: system
pass_filenames: false
always_run: true
stages: [pre-push]
- id: ty
name: ty
entry: uv run ty check
language: system
pass_filenames: false
always_run: true
stages: [pre-push]