-
ilevy@chromium.org authored
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. Review URL: https://chromiumcodereview.appspot.com/11776016 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@175364 0039d316-1c4b-4281-b951-d872f2087c98
7b677f7a