From bdb26892eabfaa3a3d6bdfe37e22934361084fad Mon Sep 17 00:00:00 2001 From: Lincoln Puzey Date: Wed, 13 Nov 2024 08:45:37 +0800 Subject: [PATCH] Show diff when checking ruff format --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e63e2070..b1e865ce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,7 +35,7 @@ jsonschema-markdown = "^0.3.13" lint = "ruff check" lint-fix = "ruff check --fix-only" format = "ruff format" -format-check = "ruff format --check" +format-check = "ruff format --check --diff" typecheck = "mypy tests/ abis_mapping/ docs/ scripts/" generate-instructions = "./scripts/generate_instructions.sh" generate-model-docs = "./scripts/generate_model_docs.sh"