Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,16 @@ repos:
- id: debug-statements
- id: mixed-line-ending

# Ruff - linting and formatting (using your existing ruff config)
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.3
# Ruff - uses uv run so the version always matches pyproject.toml
- repo: local
hooks:
# Run the linter
- id: ruff
args: [--fix]
# Run the formatter
name: ruff (linter)
entry: uv run ruff check --fix
language: system
types: [python]
- id: ruff-format
name: ruff format
entry: uv run ruff format
language: system
types: [python]
Loading