Skip to content

Commit dc8c3b5

Browse files
authored
python: add autofix hint if linter fails (#14799)
if the linter fails, often many of the problems can be safely autofixed. That's because many of the rules are opinionated / conventional / cosmetic and can be annoying to deal with manually.
1 parent 9238ca7 commit dc8c3b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev-tools/scripts/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ autofix: ruff-fix reformat
4444

4545
# lints sources
4646
ruff: env
47-
# validate sources with ruff linter
47+
# validate sources with ruff linter: if this fails, try "make autofix".
4848
$(VENV)/bin/ruff check $(SOURCES)
4949

5050
# fixes (safe) issues that are autofixable such as deprecated/renamed APIs

0 commit comments

Comments
 (0)