Skip to content

Commit

Permalink
fail if ruff (check or format) finds a difference
Browse files Browse the repository at this point in the history
  • Loading branch information
petrkalos committed Apr 9, 2024
1 parent da194b6 commit 3449d40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ repos:
hooks:
# Run the linter.
- id: ruff
args: [ --fix ]
# Run the formatter.
- id: ruff-format
args: [ --check ]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
hooks:
Expand Down

0 comments on commit 3449d40

Please sign in to comment.