Skip to content

Commit

Permalink
pre-commit: Add --diff to ruff-format
Browse files Browse the repository at this point in the history
Mostly of interest during local development, suggested by Jair Henrique.
  • Loading branch information
hartwork committed Dec 12, 2023
1 parent d9af4bc commit 276512f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ repos:
hooks:
- id: ruff
- id: ruff-format
args: ["--diff"]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
Expand Down

0 comments on commit 276512f

Please sign in to comment.