Skip to content

Commit

Permalink
Ensure pre-commit also runs ruff-format, to match test runs
Browse files Browse the repository at this point in the history
  • Loading branch information
stevejalim committed Jan 24, 2024
1 parent 0a83866 commit 2a99dc9
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 @@ -20,5 +20,8 @@ repos:
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.1.14
hooks:
# Run the linter
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
# Run the formatter
- id: ruff-format

0 comments on commit 2a99dc9

Please sign in to comment.