1121290a9fe851ebbf9647f44bfa8f58f4e115b6,src/python/pants/backend/python/lint/isort/rules_integration_test.py,IsortIntegrationTest,run_isort,#,41
Before Change
args.append(f"--isort-args="{passthrough_args}"")
if skip:
args.append(f"--isort-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(IsortTarget(adaptor_with_origin), options_bootstrapper)
)
After Change
args.append(f"--isort-skip")
options_bootstrapper = create_options_bootstrapper(args=args)
lint_result = self.request_single_product(
LintResult, Params(IsortTargets(tuple(targets)), options_bootstrapper)
)
input_snapshot = self.request_single_product(
Snapshot,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 20
Instances
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/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