Files
daglib/.pre-commit-config.yaml
2026-02-21 10:12:40 -06:00

28 lines
759 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.2
hooks:
- id: ruff-check
types_or: [ python, pyi ]
args: [--fix-only, --exit-non-zero-on-fix]
# - id: ruff-format
# types_or: [ python, pyi ]
- repo: https://github.com/codespell-project/codespell
# Configuration for codespell is in pyproject.toml
rev: v2.4.1
hooks:
- id: codespell
additional_dependencies:
- tomli
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.10.4
hooks:
# Update the uv lockfile
- id: uv-lock