From 699191ea211d2b67eef24b00624be3a92274f2bd Mon Sep 17 00:00:00 2001 From: Matt Culler Date: Fri, 11 Oct 2024 16:32:44 -0400 Subject: [PATCH] fix: improper shell escaping and missed alias --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 015b617..c44f78f 100644 --- a/Makefile +++ b/Makefile @@ -66,8 +66,8 @@ endif ---------------- : ## ---------------- -.PHONY: autoformat -autoformat: format-ruff format-codespell ## Run all automatic formatters +.PHONY: format +format: format-ruff format-codespell ## Run all automatic formatters .PHONY: format-ruff format-ruff: ##- Automatically format with ruff @@ -75,12 +75,15 @@ format-ruff: ##- Automatically format with ruff success=true ruff check --fix $(SOURCES) || success=false ruff format $(SOURCES) - $success || exit 1 + $$success || exit 1 .PHONY: format-codespell format-codespell: ##- Fix spelling issues with codespell uv run codespell --toml pyproject.toml --write-changes $(SOURCES) +.PHONY: autoformat +autoformat: format ## Alias for 'format' + ---------------- : ## ---------------- .PHONY: lint