dotb_ai-platform/.pre-commit-config.yaml

22 lines
544 B
YAML

repos:
- repo: local
hooks:
- id: ruff
name: ruff (uv.lock)
entry: uv run --no-sync ruff check
language: system
types_or: [python, pyi]
- id: ruff-format
name: ruff format (uv.lock)
entry: uv run --no-sync ruff format --check
language: system
types_or: [python, pyi]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-yaml
- id: check-toml
- id: check-merge-conflict
- id: detect-private-key