From 7861ca5dc3dad58af2bb44b55200e89f712d4094 Mon Sep 17 00:00:00 2001 From: Aviv Keller Date: Wed, 18 Sep 2024 08:04:38 -0400 Subject: [PATCH] build: print `Running XYZ linter...` for py and yml PR-URL: https://github.com/nodejs/node/pull/54386 Reviewed-By: Luigi Pinca --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ad33c402abf774..adbc30ad06e801 100644 --- a/Makefile +++ b/Makefile @@ -1543,7 +1543,7 @@ lint-py-build: ifneq ("","$(wildcard tools/pip/site-packages/ruff)") # Lint the Python code with ruff. lint-py: - tools/pip/site-packages/bin/ruff --version + $(info Running Python linter...) tools/pip/site-packages/bin/ruff check . else lint-py: @@ -1563,6 +1563,7 @@ lint-yaml-build: # Lints the YAML files with yamllint. lint-yaml: @if [ -d "tools/pip/site-packages/yamllint" ]; then \ + $(info Running YAML linter...) \ PYTHONPATH=tools/pip $(PYTHON) -m yamllint .; \ else \ echo 'YAML linting with yamllint is not available'; \