Skip to content

Commit 7861ca5

Browse files
Aviv Kellertargos
Aviv Keller
authored andcommitted
build: print Running XYZ linter... for py and yml
PR-URL: #54386 Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent a97841e commit 7861ca5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1543,7 +1543,7 @@ lint-py-build:
15431543
ifneq ("","$(wildcard tools/pip/site-packages/ruff)")
15441544
# Lint the Python code with ruff.
15451545
lint-py:
1546-
tools/pip/site-packages/bin/ruff --version
1546+
$(info Running Python linter...)
15471547
tools/pip/site-packages/bin/ruff check .
15481548
else
15491549
lint-py:
@@ -1563,6 +1563,7 @@ lint-yaml-build:
15631563
# Lints the YAML files with yamllint.
15641564
lint-yaml:
15651565
@if [ -d "tools/pip/site-packages/yamllint" ]; then \
1566+
$(info Running YAML linter...) \
15661567
PYTHONPATH=tools/pip $(PYTHON) -m yamllint .; \
15671568
else \
15681569
echo 'YAML linting with yamllint is not available'; \

0 commit comments

Comments
 (0)