Skip to content

Commit

Permalink
PC191: Ruff show fixes if fixes enabled
Browse files Browse the repository at this point in the history
Apply repo-review rule PC191:

	If --fix is present, --show-fixes must be too.
  • Loading branch information
DimitriPapadopoulos committed Aug 5, 2024
1 parent d04b578 commit 44b5d12
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 @@ -14,7 +14,7 @@ repos:
rev: v0.5.5
hooks:
- id: ruff
args: [ "--fix", "--unsafe-fixes", "--exit-non-zero-on-fix"]
args: [ "--fix", "--unsafe-fixes", "--show-fixes", "--exit-non-zero-on-fix"]
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.0
Expand Down

0 comments on commit 44b5d12

Please sign in to comment.