From 276512fb248069007123bb56ff6ed224a48dedb2 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Tue, 12 Dec 2023 19:50:52 +0100 Subject: [PATCH] pre-commit: Add --diff to ruff-format Mostly of interest during local development, suggested by Jair Henrique. --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0ecd9b11..1ec25845 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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