c92c34c42f2797556295ffeb4ec899cc033805e9,src/python/pants/backend/python/lint/black/rules_integration_test.py,BlackIntegrationTest,run_black,#BlackIntegrationTest#Any#,63
Before Change
lint_result: LintResult = assert_single_element(
self.scheduler.product_request(LintResult, [fmt_and_lint_params])
)
fmt_result: FmtResult = assert_single_element(
self.scheduler.product_request(FmtResult, [fmt_and_lint_params])
)
return lint_result, fmt_result
def get_digest(self, source_files: List[FileContent]) -> Digest:
return assert_single_element(
After Change
)
black_setup = self.request_single_product(
BlackSetup,
Params(
target,
black_subsystem,
PythonNativeCode.global_instance(),
PythonSetup.global_instance(),
SubprocessEnvironment.global_instance(),
)
)
fmt_and_lint_params = Params(
target, black_setup, PythonSetup.global_instance(), SubprocessEnvironment.global_instance()
)
lint_result = self.request_single_product(LintResult, fmt_and_lint_params)
fmt_result = self.request_single_product(FmtResult, fmt_and_lint_params)
return lint_result, fmt_result
def get_digest(self, source_files: List[FileContent]) -> Digest:
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: pantsbuild/pants
Commit Name: c92c34c42f2797556295ffeb4ec899cc033805e9
Time: 2019-11-25
Author: ericarellano@me.com
File Name: src/python/pants/backend/python/lint/black/rules_integration_test.py
Class Name: BlackIntegrationTest
Method Name: run_black
Project Name: pantsbuild/pants
Commit Name: 07a3ac8be168f626c92f2c066f9000ea969a11a0
Time: 2020-06-24
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/rules/python_sources_test.py
Class Name: UnstrippedPythonSourcesTest
Method Name: test_filters_out_irrelevant_targets
Project Name: pantsbuild/pants
Commit Name: 07a3ac8be168f626c92f2c066f9000ea969a11a0
Time: 2020-06-24
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/rules/python_sources_test.py
Class Name: StrippedPythonSourcesTest
Method Name: test_filters_out_irrelevant_targets
Project Name: pantsbuild/pants
Commit Name: 791be481c4a0102042dc0a502b08ba5cc6a85987
Time: 2020-06-29
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/rules/inject_init_test.py
Class Name: InjectInitTest
Method Name: assert_injected