Skip to content

Commit

Permalink
build: add LINT_CPP_FILES to checkimports check
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
danbev authored and codebytere committed Jul 10, 2020
1 parent 4b4fb13 commit d56585e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1328,7 +1328,7 @@ lint-cpp: tools/.cpplintstamp
tools/.cpplintstamp: $(LINT_CPP_FILES)
@echo "Running C++ linter..."
@$(PYTHON) tools/cpplint.py $(CPPLINT_QUIET) $?
@$(PYTHON) tools/checkimports.py
@$(PYTHON) tools/checkimports.py $?
@touch $@

.PHONY: lint-addon-docs
Expand Down

0 comments on commit d56585e

Please sign in to comment.