Files
FindMy.py/.pre-commit-config.yaml
2025-09-16 21:59:46 +02:00

32 lines
705 B
YAML

default_install_hook_types:
- pre-commit
- post-checkout
- post-merge
- post-rewrite
repos:
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.8.17
hooks:
- id: uv-sync
args: ["--all-groups"]
- repo: local
hooks:
- id: uv-basedpyright
name: Run basedpyright via uv
entry: uv run basedpyright
language: system
types: [python]
- id: uv-ruff-check
name: Run ruff check via uv
entry: uv run ruff check --fix
language: system
types: [python]
- id: uv-ruff-fmt
name: Run ruff format via uv
entry: uv run ruff format
language: system
types: [python]