9fc01086d3e6b7d1e659b7fbca22a21f93e191d8,src/python/pants/backend/python/lint/isort/rules_integration_test.py,IsortIntegrationTest,run_isort,#,71

Before Change


    )
    lint_target = IsortTarget(target_adaptor)
    fmt_target = IsortTarget(target_adaptor, prior_formatter_result_digest=input_snapshot.directory_digest)
    isort_subsystem = global_subsystem_instance(
      Isort, options={Isort.options_scope: {
        "config": [".isort.cfg"] if config else None,
        "args": passthrough_args or [],
        "skip": skip,
      }}
    )
    python_subsystems = [
      PythonNativeCode.global_instance(),
      PythonSetup.global_instance(),
      SubprocessEnvironment.global_instance(),

After Change


    fmt_target = IsortTarget(
      target_adaptor, prior_formatter_result_digest=input_snapshot.directory_digest,
    )
    options_bootstrapper = create_options_bootstrapper(args=args)
    lint_result = self.request_single_product(LintResult, Params(lint_target, options_bootstrapper))
    fmt_result = self.request_single_product(FmtResult, Params(fmt_target, options_bootstrapper))
    return lint_result, fmt_result
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: pantsbuild/pants
Commit Name: 9fc01086d3e6b7d1e659b7fbca22a21f93e191d8
Time: 2020-01-10
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: 9fc01086d3e6b7d1e659b7fbca22a21f93e191d8
Time: 2020-01-10
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: 0672196d5863f446a9fce40d5a0aae6831b2b681
Time: 2020-09-25
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/testutil/rule_runner.py
Class Name: RuleRunner
Method Name: run_goal_rule