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.
depot_tools/tests
Dirk Pranke 6f0df68e8b Add use_python3 to codereview.settings to set default for PRESUBMITs.
This CL adds a new field to the codereview.settings file used by
git_cl for project-wide defaults. If `USE_PYTHON3` is set to True,
then we will run the PRESUBMIT checks under Python3 by default
instead of Python2, unless the PRESUBMIT.py file contains
`USE_PYTHON3 = False` on a line by itself

(as opposed to now, where we'll use Python2 by default unless the
file contains `USE_PYTHON3 = True`).

This will allow us have Python3 be the default for new files
and to eventually eliminate any uses of `USE_PYTHON3` from the
individual presubmit files. Of course, you will have to go in and
explicitly add `USE_PYTHON3 = False` to any Py2-only files prior
to enabling this.

Bug: 1207012
Change-Id: Id8ec45b43940e5bcffeee196398c711c541e733e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2917747
Reviewed-by: Nico Weber <thakis@chromium.org>
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
Commit-Queue: Dirk Pranke <dpranke@google.com>
5 years ago
..
gstools
OWNERS
PRESUBMIT.py Follow-up to 61bf638 to add the py3-specific PRESUBMIT.py test. 5 years ago
auth_test.py
bot_update_coverage_test.py bot_update: Add experiment to avoid fetching if checked out revision is recent enough. 5 years ago
cipd_bootstrap_test.py
detect_host_arch_test.py gclient: Correctly set host_cpu to arm64 on arm macs 5 years ago
download_from_google_storage_unittest.py Recover from aborted tar.gz extraction 5 years ago
fetch_test.py
fix_encoding_test.py
gclient_cipd_smoketest.py
gclient_eval_unittest.py metrics: Don't print notice if reporting build metrics. 5 years ago
gclient_git_mutates_smoketest.py
gclient_git_smoketest.py
gclient_paths_test.py
gclient_scm_test.py
gclient_smoketest.py
gclient_smoketest_base.py
gclient_test.py metrics: Don't print notice if reporting build metrics. 5 years ago
gclient_transitions_smoketest.py
gclient_utils_test.py
gerrit_client_test.py Implemented suppport for getrelatedchanges endpoint in gerrit module 5 years ago
gerrit_util_test.py Handle spaces in Gerrit search options 5 years ago
git_cache_test.py
git_cl_creds_check_report.txt
git_cl_test.py Add use_python3 to codereview.settings to set default for PRESUBMITs. 5 years ago
git_common_test.py
git_dates_test.py
git_find_releases_test.py
git_footers_test.py
git_hyper_blame_test.py
git_map_test.py
git_migrate_default_branch_test.py
git_number_test.py
git_rebase_update_test.py
gsutil_test.py Revert "Reland "Update gsutil to use gsutil version 4.61, python3."" 5 years ago
lockfile_test.py
metrics_test.py metrics: Don't print notice if reporting build metrics. 5 years ago
my_activity_test.py
ninjalog_uploader_test.py
owners_client_test.py
owners_finder_test.py
owners_unittest.py
presubmit_unittest.py Add support for running PRESUBMIT.py checks under Python2 or 3. 5 years ago
rdb_wrapper_test.py
recipes_test.py
roll_dep_test.py
scm_unittest.py
split_cl_test.py Update format of `git cl split` 5 years ago
subcommand_test.py
subprocess2_test.py
upload_to_google_storage_unittest.py
watchlists_unittest.py