82be0c568fe0a74393cd1cda95e702b51b888394,src/python/pants/backend/python/rules/pytest_coverage.py,,generate_coverage_report,#Any#Any#Any#Any#Any#Any#,302
Before Change
Takes all Python test results and generates a single coverage report.
requirements_pex = coverage_setup.requirements_pex
coverage_config = await Get [CoverageConfig](
CoverageConfigRequest(Targets(transitive_targets.closure), is_test_time=False)
)
After Change
subprocess_encoding_environment: SubprocessEncodingEnvironment,
) -> CoverageReports:
Takes all Python test results and generates a single coverage report.
coverage_config_request = Get(CoverageConfig, CoverageConfigRequest())
unstripped_sources_request = Get(
SourceFiles,
AllSourceFilesRequest(
tgt[PythonSources] for tgt in transitive_targets.closure if tgt.has_field(PythonSources)
),
)
coverage_config, unstripped_sources = await MultiGet(
coverage_config_request, unstripped_sources_request
)
input_digest = await Get(
Digest,
MergeDigests(
(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: pantsbuild/pants
Commit Name: 82be0c568fe0a74393cd1cda95e702b51b888394
Time: 2020-06-17
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/rules/pytest_coverage.py
Class Name:
Method Name: generate_coverage_report
Project Name: pantsbuild/pants
Commit Name: a6e07cefbde47684bcc540c9f187d3c88311921b
Time: 2020-10-22
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/goals/run_pex_binary.py
Class Name:
Method Name: create_pex_binary_run_request
Project Name: pantsbuild/pants
Commit Name: ee98ef6fa797e8f2e64059363a47734d9f409b90
Time: 2020-09-24
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/typecheck/mypy/rules.py
Class Name:
Method Name: mypy_typecheck