Skip to content

Commit

Permalink
Add pre-commit hook for ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
relf committed Jan 7, 2025
1 parent 4eee8f8 commit 02025fc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.8.6
hooks:
# Run the linter.
- id: ruff
# Run the formatter.
- id: ruff-format

0 comments on commit 02025fc

Please sign in to comment.