From 092ebd0ee0a8364213fe6a39bd76832a1f31656d Mon Sep 17 00:00:00 2001 From: Russell Date: Sun, 10 Aug 2025 20:54:43 -0400 Subject: [PATCH] Update Makefile Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- Makefile | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index f5754c8..7a08317 100644 --- a/Makefile +++ b/Makefile @@ -155,13 +155,18 @@ test-cov: dev-setup # Format and lint code -.PHONY: format lint -format lint: dev-setup - @echo "🎨 Formatting and linting code..." - venv/bin/black . || echo "⚠️ black formatting failed" - venv/bin/isort . || echo "⚠️ isort import sorting failed" - venv/bin/flake8 . || echo "⚠️ Linting issues found" +.PHONY: format +format: dev-setup + @echo "🎨 Formatting code..." + venv/bin/black . + venv/bin/isort . +.PHONY: lint +lint: dev-setup + @echo "🔍 Linting code..." + venv/bin/black --check . + venv/bin/isort --check-only . + venv/bin/flake8 . # Install development dependencies .PHONY: dev-setup dev-setup: venv