haiku.rag/.pre-commit-config.yaml
2025-09-01 14:56:14 +03:00

32 lines
946 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-merge-conflict
- id: check-toml
- id: debug-statements
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.11.4
hooks:
# Run the linter.
- id: ruff
# Run the formatter.
- id: ruff-format
- repo: https://github.com/RobertCraigie/pyright-python
rev: v1.1.399
hooks:
- id: pyright
# - repo: https://github.com/RodrigoGonzalez/check-mkdocs
# rev: v1.2.0
# hooks:
# - id: check-mkdocs
# name: check-mkdocs
# args: ["--config", "mkdocs.yml"] # Optional, mkdocs.yml is the default
# # If you have additional plugins or libraries that are not included in
# # check-mkdocs, add them here
# additional_dependencies: ["mkdocs-material"]