From d776a8ce7d9b571de2ec67d7dc65607d6e16f28e Mon Sep 17 00:00:00 2001 From: Aviv Keller <38299977+RedYetiDev@users.noreply.github.com> Date: Wed, 14 Aug 2024 17:46:36 -0400 Subject: [PATCH 1/3] build: print `Running XYZ linter...` for py and yml --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 330cb1df31cc71..f8f62a490c1c3f 100644 --- a/Makefile +++ b/Makefile @@ -1536,7 +1536,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: @@ -1556,6 +1556,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'; \ From 6560d5df0a633081b06b894d6daa8b59a4ce8acb Mon Sep 17 00:00:00 2001 From: Aviv Keller <38299977+RedYetiDev@users.noreply.github.com> Date: Wed, 14 Aug 2024 17:57:03 -0400 Subject: [PATCH 2/3] Update Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f8f62a490c1c3f..c546f338faa2ff 100644 --- a/Makefile +++ b/Makefile @@ -1556,7 +1556,7 @@ lint-yaml-build: # Lints the YAML files with yamllint. lint-yaml: @if [ -d "tools/pip/site-packages/yamllint" ]; then \ - $(info Running YAML linter...) + $(info Running YAML linter...) \ PYTHONPATH=tools/pip $(PYTHON) -m yamllint .; \ else \ echo 'YAML linting with yamllint is not available'; \ From e8f3a23b30c72d68e5a7a06c98e5ba9b04560eb8 Mon Sep 17 00:00:00 2001 From: Aviv Keller <38299977+RedYetiDev@users.noreply.github.com> Date: Mon, 19 Aug 2024 11:03:18 -0400 Subject: [PATCH 3/3] use tabs rather than spaces --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c546f338faa2ff..2d3d86281566c8 100644 --- a/Makefile +++ b/Makefile @@ -1556,7 +1556,7 @@ lint-yaml-build: # Lints the YAML files with yamllint. lint-yaml: @if [ -d "tools/pip/site-packages/yamllint" ]; then \ - $(info Running YAML linter...) \ + $(info Running YAML linter...) \ PYTHONPATH=tools/pip $(PYTHON) -m yamllint .; \ else \ echo 'YAML linting with yamllint is not available'; \