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 61bf6e8d69 Add support for running PRESUBMIT.py checks under Python2 or 3.
This CL adds support for running PRESUBMIT.py under either Python2
or Python3 as specified in each PRESUBMIT.py file.

To run the checks under Python3, the PRESUBMIT.py file must contain
a line exactly matching "^USE_PYTHON3 = True$". If the file
does not contain this string, the checks will run under Python2.

Different PRESUBMIT.py files in a single CL may thus contain
a mix of 2- and 3-compatible checks, but each individual file will
only be run in one or the other (it doesn't likely make sense to run
them in both by default).

Bug: 1157663
Change-Id: Ic74977941a6519388089328b6e1dfba2e885924b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2832654
Commit-Queue: Dirk Pranke <dpranke@google.com>
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
5 years ago
..
gstools
OWNERS
auth_test.py
bot_update_coverage_test.py recipes: Specify refs/heads/master instead of origin/master for gclient config. 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
gclient_git_mutates_smoketest.py gclient: Split gclient smoke tests. 5 years ago
gclient_git_smoketest.py gclient: Split gclient smoke tests. 5 years ago
gclient_paths_test.py
gclient_scm_test.py Use real default branch in gclient 5 years ago
gclient_smoketest.py
gclient_smoketest_base.py
gclient_test.py
gclient_transitions_smoketest.py
gclient_utils_test.py update stale codereview.chromium.org links 5 years ago
gerrit_client_test.py gerrit: add createchange changeedit publishchangeedit 5 years ago
gerrit_util_test.py gerrit_util: Fix checking if code-owners enabled on repo. 5 years ago
git_cache_test.py add support for main in git_cache 5 years ago
git_cl_creds_check_report.txt git cl: remove check for likely wrong identities. 5 years ago
git_cl_test.py Add support for running PRESUBMIT.py checks under Python2 or 3. 5 years ago
git_common_test.py Fix testRebase 5 years ago
git_dates_test.py
git_find_releases_test.py
git_footers_test.py Use rstrip when getting footer tags 5 years ago
git_hyper_blame_test.py
git_map_test.py
git_migrate_default_branch_test.py Add git-migrate-default-branch 5 years ago
git_number_test.py
git_rebase_update_test.py
gsutil_test.py
lockfile_test.py
metrics_test.py
my_activity_test.py
ninjalog_uploader_test.py ninjalog uploader: migrate to python3 5 years ago
owners_client_test.py Reland "presubmit: Skip owners checks if code-owners plugin is enabled." 5 years ago
owners_finder_test.py owners_finder: Use code-owners plugin if available. 5 years ago
owners_unittest.py
presubmit_unittest.py Add support for running PRESUBMIT.py checks under Python2 or 3. 5 years ago
rdb_wrapper_test.py [resultdb] use requests.Session in rdb_wrapper 5 years ago
recipes_test.py
roll_dep_test.py
scm_unittest.py Use real default branch in gclient 5 years ago
subcommand_test.py
subprocess2_test.py [subprocess2] Replace VOID with DEVNULL 5 years ago
upload_to_google_storage_unittest.py
watchlists_unittest.py