You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
ilevy@chromium.org 7b677f7a11 Fix 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.


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
13 years ago
bootstrap Force a new download/install of git-1.8.0 to pick up: 13 years ago
git-templates git template files for chromium checkouts. 13 years ago
git_utils
support
testing_support Suggest owners for OWNERS files that only have per-file owners. 13 years ago
tests Fix RunPylint affected files regex issue 13 years ago
third_party Update upload.py at @ 41332266d718. 13 years ago
zsh-goodies
.gitignore
LICENSE
OWNERS Remove evan from OWNERS 13 years ago
PRESUBMIT.py
README
README.codereview
README.gclient
README.git-cl
README.testing
WATCHLISTS Add myself to the watchlist for depot_tools 13 years ago
apply_issue
apply_issue.bat
apply_issue.py Use --nohooks when gclient sync in apply_issue. 13 years ago
breakpad.py Only call SendProfile() on slow commands 13 years ago
cbuildbot
checkout.py Add workaround where SVN.Revert() deletes the checkout. 13 years ago
chrome-update-create-task.bat
chrome-update.bat
chrome-update.py
chrome_set_ver
codereview.settings
commit_queue.py
cpplint.bat
cpplint.py
cpplint_chromium.py
create-chromium-git-src
create-ntfs-junction.c
create-ntfs-junction.exe
cros Add cros wrapper to depot_tools. 13 years ago
cros_sdk
crup-runner.sh Another round of refactoring and optimizing. 13 years ago
drover
drover.bat
drover.py Make getBranchForMilestone() explictly request the CSV data. 13 years ago
fix_encoding.py
gcl
gcl.bat
gcl.py Rollback UpgradeToHttps for viewvc links 13 years ago
gclient Fix gclient "skip update on certain commands", again 13 years ago
gclient.bat
gclient.py gclient grep: support pathspec arguments 13 years ago
gclient_scm.py Reset to correct version when switching upstream repository for a git dependency. 13 years ago
gclient_utils.py Add gclient grep for git repos 13 years ago
git-cl Fix dirname logic for msys and not-msys. 13 years ago
git-cl-upload-hook
git-crup Another round of refactoring and optimizing. 13 years ago
git-gs
git-lkgr
git-runhooks Set executable bit 13 years ago
git-try Update dirname logic. 13 years ago
git_cl.py Add short options for git cl presubmit 13 years ago
git_try.py
hammer
hammer.bat
my_activity.py Add support for specifying my_activity.py list format. 13 years ago
my_reviews.py
ninja ninja: Add a friendlier error message if no prebuilt binary is found. 13 years ago
ninja-linux32 Update ninja to v1.1.0 on Mac, Linux32, Linux64, Windows. 13 years ago
ninja-linux64 Update ninja to v1.1.0 on Mac, Linux32, Linux64, Windows. 13 years ago
ninja-mac Update ninja to v1.1.0 on Mac, Linux32, Linux64, Windows. 13 years ago
ninja.exe Update ninja to v1.1.0 on Mac, Linux32, Linux64, Windows. 13 years ago
owners.py Try #3 to improve the owners suggesting algorithm. 13 years ago
patch.py
presubmit_canned_checks.py Fix RunPylint affected files regex issue 13 years ago
presubmit_support.py Create CachingRietveld to automatically cache results for presubmit checks. 13 years ago
profile.xml
pylint
pylint.py
pylintrc Add multiprocessing.managers.SyncManager to pylintrc generated-members 13 years ago
repo Pull in repo v1.18 script for matching repo v1.11.1 update. 13 years ago
rietveld.py Add rietveld POST logging 13 years ago
scm.py
subprocess2.py
trychange.py Fix toplevel_root parsing in trychange.py 13 years ago
update_depot_tools For git checkouts of depot_tools, update remote.origin.url to the git-on-borg mirror. 13 years ago
update_depot_tools.bat
watchlists.py
weekly
wtf

README

This package contains tools for working with Chromium development.

The "gclient" wrapper knows how to keep this repository updated to
the latest versions of these tools as found at:

    http://src.chromium.org/svn/trunk/tools/depot_tools

This package contains:

  chrome-update-create-task.bat
    Creates a scheduled task to do an automatic local chromium build every day.

  cpplint.py
    A copy of our linting tool which enforces Google style. Fetched from
    http://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py

  gcl
    A tool for uploading and managing code reviews on the Chromium
    project, using the Rietveld code review tool.  More info at:
    http://code.google.com/p/rietveld/

  gclient
    A script for managing a workspace with modular dependencies that
    are each checked out independently from different repositories.
    More info at:
    http://code.google.com/p/gclient/

  hammer
    A wrapper script for building Chromium with the SCons software
    construction tool.  More info at:
    http://www.scons.org/

Note: svn and python will be installed automatically if not accessible (on
Windows only).

To update this distribution manually, run .\update_depot_tools.bat on Windows,
or ./update_depot_tools on Linux or Mac.

To disable automatic updating, set the environment variable DEPOT_TOOLS_UPDATE=0