Skip to content

Commit

Permalink
Add --exit-non-zero-on-fix for ruff
Browse files Browse the repository at this point in the history
Co-authored-by: Casper Welzel Andersen <[email protected]>
  • Loading branch information
ml-evs and CasperWA authored Oct 15, 2023
1 parent 1f0da3e commit af658dd
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 @@ -33,7 +33,7 @@ repos:
rev: 'v0.0.292'
hooks:
- id: ruff
args: [--fix]
args: [--fix, --exit-non-zero-on-fix]

- repo: local
hooks:
Expand Down

0 comments on commit af658dd

Please sign in to comment.