1121290a9fe851ebbf9647f44bfa8f58f4e115b6,src/python/pants/backend/python/lint/docformatter/rules_integration_test.py,DocformatterIntegrationTest,run_docformatter,#,31
Before Change
args.append(f"--docformatter-args="{passthrough_args}"")
if skip:
args.append(f"--docformatter-skip")
input_snapshot = self.request_single_product(Snapshot, InputFilesContent(source_files))
adaptor = TargetAdaptor(
sources=EagerFilesetWithSpec("test", {"globs": []}, snapshot=input_snapshot),
address=Address.parse("test:target"),
)
if origin is None:
origin = SingleAddress(directory="test", name="target")
adaptor_with_origin = TargetAdaptorWithOrigin(adaptor, origin)
options_bootstrapper = create_options_bootstrapper(args=args)
lint_result = self.request_single_product(
LintResult, Params(DocformatterTarget(adaptor_with_origin), options_bootstrapper)
)
After Change
lint_result = self.request_single_product(
LintResult, Params(DocformatterTargets(tuple(targets)), options_bootstrapper)
)
input_snapshot = self.request_single_product(
Snapshot,
DirectoriesToMerge(
tuple(target.adaptor.sources.snapshot.directory_digest for target in targets)
),
)
fmt_result = self.request_single_product(
FmtResult,
Params(
DocformatterTargets(tuple(targets), prior_formatter_result=input_snapshot),
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 31
Instances
Project Name: pantsbuild/pants
Commit Name: 1121290a9fe851ebbf9647f44bfa8f58f4e115b6
Time: 2020-02-27
Author: ericarellano@me.com
File Name: src/python/pants/backend/python/lint/docformatter/rules_integration_test.py
Class Name: DocformatterIntegrationTest
Method Name: run_docformatter
Project Name: pantsbuild/pants
Commit Name: 1121290a9fe851ebbf9647f44bfa8f58f4e115b6
Time: 2020-02-27
Author: ericarellano@me.com
File Name: src/python/pants/backend/python/lint/docformatter/rules_integration_test.py
Class Name: DocformatterIntegrationTest
Method Name: run_docformatter
Project Name: pantsbuild/pants
Commit Name: 1121290a9fe851ebbf9647f44bfa8f58f4e115b6
Time: 2020-02-27
Author: ericarellano@me.com
File Name: src/python/pants/backend/python/lint/isort/rules_integration_test.py
Class Name: IsortIntegrationTest
Method Name: run_isort
Project Name: pantsbuild/pants
Commit Name: 1121290a9fe851ebbf9647f44bfa8f58f4e115b6
Time: 2020-02-27
Author: ericarellano@me.com
File Name: src/python/pants/backend/python/lint/black/rules_integration_test.py
Class Name: BlackIntegrationTest
Method Name: run_black