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/metadata/tests
Jordan Brown fd65288d4a Add `is_open_source_project` to metadata validation
Reciprocal licenses can only be used in open source projects.
This change updates the presubmit validation checks to accept an
optional flag `allow_reciprocal_licenses`. When True, the allowlist is
extended to include reciprocal licenses.

Bug: 385020146
Change-Id: I0374658207bc87ffd74e033762ee4973c6e83b3b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6107863
Reviewed-by: Jordan Brown <rop@google.com>
Auto-Submit: Jordan Brown <rop@google.com>
Reviewed-by: Rachael Newitt <renewitt@google.com>
Commit-Queue: Rachael Newitt <renewitt@google.com>
5 months ago
..
data Add `is_open_source_project` to metadata validation 5 months ago
dependency_metadata_test.py Add `is_open_source_project` to metadata validation 5 months ago
fields_test.py Change the delimiter for license validation 6 months ago
parse_test.py Add `is_open_source_project` to metadata validation 5 months ago
type_narrowing_test.py Change the delimiter for license validation 6 months ago
validate_test.py Add `is_open_source_project` to metadata validation 5 months ago