Skip to content

Apache Lucene open-source search software

python: add autofix hint if linter fails (#14799)

Robert Muirdc8c3b5e0a8d
diff --git a/dev-tools/scripts/Makefile b/dev-tools/scripts/Makefile
index f2786ba142c..fa94d240671 100644
--- a/dev-tools/scripts/Makefile
+++ b/dev-tools/scripts/Makefile
@@ -44,7 +44,7 @@ autofix: ruff-fix reformat
# lints sources
ruff: env
- # validate sources with ruff linter
+ # validate sources with ruff linter: if this fails, try "make autofix".
$(VENV)/bin/ruff check $(SOURCES)
# fixes (safe) issues that are autofixable such as deprecated/renamed APIs