Skip to content

Commit

Permalink
feat(pre-commit): enable ruff pre-commit (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
pree authored Jun 4, 2024
1 parent 8a68b64 commit d6a3c7d
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.4.7
hooks:
# Run the linter
- id: ruff
args: [--fix]
# Run the formatter
- id: ruff-format

0 comments on commit d6a3c7d

Please sign in to comment.