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 3d3fac4 commit a5bf0b3
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 a5bf0b3

Please sign in to comment.