Skip to content

Commit

Permalink
Enable the ruff formatter in pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
arichardson committed Feb 9, 2024
1 parent b92aece commit 4402190
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ repos:
hooks:
- id: ruff
stages: [ push, commit, manual ]
# Run the formatter.
- id: ruff-format
stages: [ push, commit, manual ]
- repo: https://github.com/pycqa/flake8
rev: '7.0.0' # pick a git hash / tag to point to
hooks:
Expand Down

0 comments on commit 4402190

Please sign in to comment.