d064804b3acf89a30fefae3f6900f0414e3e3416,src/python/pants/backend/project_info/rules/source_file_validator.py,,validate,#Any#Any#Any#,205
Before Change
console.print_stdout("{} files failed to match at least one required pattern.".format(
num_nonmatched_some))
if num_nonmatched_some:
raise GracefulTerminationException("Files failed validation.")
@rule(RegexMatchResults, [HydratedTarget, SourceFileValidation])
def match_regexes_for_one_target(hydrated_target, source_file_validation):
multi_matcher = source_file_validation.get_multi_matcher()
rmrs = []
After Change
console.print_stdout("{} files failed to match at least one required pattern.".format(
num_nonmatched_some))
if num_nonmatched_some:
console.print_stderr("Files failed validation.")
exit_code = PANTS_FAILED_EXIT_CODE
else:
exit_code = PANTS_SUCCEEDED_EXIT_CODE
yield Validate(exit_code)
@rule(RegexMatchResults, [HydratedTarget, SourceFileValidation])
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: pantsbuild/pants
Commit Name: d064804b3acf89a30fefae3f6900f0414e3e3416
Time: 2019-04-20
Author: stuhood@twitter.com
File Name: src/python/pants/backend/project_info/rules/source_file_validator.py
Class Name:
Method Name: validate
Project Name: pantsbuild/pants
Commit Name: cf2abb75c2204c2578061194dd578ff6c889eeea
Time: 2020-05-07
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/core/goals/test.py
Class Name:
Method Name: run_tests
Project Name: pantsbuild/pants
Commit Name: d064804b3acf89a30fefae3f6900f0414e3e3416
Time: 2019-04-20
Author: stuhood@twitter.com
File Name: src/python/pants/rules/core/test.py
Class Name:
Method Name: fast_test