Skip to content

Commit d56585e

Browse files
danbevcodebytere
authored andcommitted
build: add LINT_CPP_FILES to checkimports check
This commit adds the prerequisites which contains all the files to lint. Currently the only the files in 'src' will be checked. PR-URL: #33697 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 4b4fb13 commit d56585e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1328,7 +1328,7 @@ lint-cpp: tools/.cpplintstamp
13281328
tools/.cpplintstamp: $(LINT_CPP_FILES)
13291329
@echo "Running C++ linter..."
13301330
@$(PYTHON) tools/cpplint.py $(CPPLINT_QUIET) $?
1331-
@$(PYTHON) tools/checkimports.py
1331+
@$(PYTHON) tools/checkimports.py $?
13321332
@touch $@
13331333

13341334
.PHONY: lint-addon-docs

0 commit comments

Comments
 (0)