DescriptionFix RunPylint affected files regex issue
The AffectedSourceFiles query matches against files with paths relative
to repository root. On the other hand _FindAllFiles checks white_lists
and black_lists against files paths relative to PRESUBMIT.py
As a result, when a PRESUBMIT.py is not at RepositoryRoot, RunPylint
can misbehave.
I fix this by modifying the white_lists and black_list regexes to
include the relative directory of PRESUBMIT.py.
Also adding some logging to pylint and simplified misc logic.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=175364
Patch Set 1 #Patch Set 2 : Adding logging #Patch Set 3 : #
Total comments: 6
Patch Set 4 : Addressed M-A comments #Messages
Total messages: 5 (0 generated)
|