Skip to content

Commit e8f7670

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 cc8d705 commit e8f7670

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
@@ -1334,7 +1334,7 @@ lint-cpp: tools/.cpplintstamp
13341334
tools/.cpplintstamp: $(LINT_CPP_FILES)
13351335
@echo "Running C++ linter..."
13361336
@$(PYTHON) tools/cpplint.py $(CPPLINT_QUIET) $?
1337-
@$(PYTHON) tools/checkimports.py
1337+
@$(PYTHON) tools/checkimports.py $?
13381338
@touch $@
13391339

13401340
.PHONY: lint-addon-docs

0 commit comments

Comments
 (0)