Skip to content

Commit

Permalink
Added precommit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
djgagne committed Oct 23, 2024
1 parent fef6417 commit da66fe2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.7.0
hooks:
# Run the linter.
- id: ruff
args: [ --fix ]
# Run the formatter.
- id: ruff-format

0 comments on commit da66fe2

Please sign in to comment.