From 8717c1ceba6d59042942e66ba866d2caa6a91c83 Mon Sep 17 00:00:00 2001 From: Alejandro Garcia Seco Date: Fri, 7 Mar 2025 10:16:25 +0100 Subject: [PATCH] CI/CD: More informative linter output --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 76710966bd689..f594d468cc3b6 100644 --- a/Makefile +++ b/Makefile @@ -118,7 +118,7 @@ test-coverage: test ## Run automated tests and create coverage report lint: ## Run code linter to check code style, check if formatter would make changes and check if dependency pins need to be updated @[ -f localstack-core/localstack/__init__.py ] && echo "localstack-core/localstack/__init__.py will break packaging." && exit 1 || : - ($(VENV_RUN); python -m ruff check --output-format=full . && python -m ruff format --check .) + ($(VENV_RUN); python -m ruff check --output-format=full . && python -m ruff format --check --diff .) $(VENV_RUN); pre-commit run check-pinned-deps-for-needed-upgrade --files pyproject.toml # run pre-commit hook manually here to ensure that this check runs in CI as well $(VENV_RUN); openapi-spec-validator localstack-core/localstack/openapi.yaml