0bfa6dbdc43587f24f2f65fcf3e63266833c5aa0,src/python/pants/backend/python/lint/isort/rules_integration_test.py,IsortIntegrationTest,run_isort,#,71

Before Change


        "args": passthrough_args or [],
      }}
    )
    isort_setup = self.request_single_product(
      IsortSetup,
      Params(
        isort_subsystem,
        PythonNativeCode.global_instance(),
        PythonSetup.global_instance(),
        SubprocessEnvironment.global_instance(),
      )
    )
    fmt_and_lint_params = Params(
      target, isort_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

After Change


      address=Address.parse("test:target"),
    )
    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 [],
      }}
    )
    python_subsystems = [
      PythonNativeCode.global_instance(),
      PythonSetup.global_instance(),
      SubprocessEnvironment.global_instance(),
    ]
    isort_setup = self.request_single_product(
      IsortSetup, Params(isort_subsystem, *python_subsystems)
    )
    lint_result = self.request_single_product(
      LintResult, Params(lint_target, isort_setup, *python_subsystems)
    )
    fmt_result = self.request_single_product(
      FmtResult, Params(fmt_target, isort_setup, *python_subsystems)
    )
    return lint_result, fmt_result

  def get_digest(self, source_files: List[FileContent]) -> Digest:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: pantsbuild/pants
Commit Name: 0bfa6dbdc43587f24f2f65fcf3e63266833c5aa0
Time: 2020-01-02
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: 0bfa6dbdc43587f24f2f65fcf3e63266833c5aa0
Time: 2020-01-02
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: 9fc01086d3e6b7d1e659b7fbca22a21f93e191d8
Time: 2020-01-10
Author: ericarellano@me.com
File Name: src/python/pants/backend/awslambda/python/awslambda_python_rules_test.py
Class Name: TestPythonAWSLambdaCreation
Method Name: create_python_awslambda