9fc01086d3e6b7d1e659b7fbca22a21f93e191d8,src/python/pants/backend/python/lint/isort/rules_integration_test.py,IsortIntegrationTest,rules,#Any#,50

Before Change



  @classmethod
  def rules(cls):
    return (
      *super().rules(),
      *isort_rules(),
      create_pex,
      create_subprocess_encoding_environment,
      create_pex_native_build_environment,
      download_pex_bin,
      RootRule(CreatePex),
      RootRule(Isort),
      RootRule(IsortSetup),
      RootRule(IsortTarget),
      RootRule(PythonSetup),
      RootRule(PythonNativeCode),
      RootRule(SubprocessEnvironment),
    )

  def setUp(self):
    super().setUp()
    init_subsystems([Isort, PythonSetup, PythonNativeCode, SubprocessEnvironment])

After Change



  @classmethod
  def rules(cls):
    return (
      *super().rules(),
      *isort_rules(),
      *download_pex_bin.rules(),
      *pex.rules(),
      *python_native_code.rules(),
      *subprocess_environment.rules(),
      RootRule(IsortTarget),
    )

  def run_isort(
    self,
    source_files: List[FileContent],
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

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: rules


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: rules


Project Name: pantsbuild/pants
Commit Name: 4e981bc9512ac1cd2b4817f2c86f7c491d3bd6bb
Time: 2020-02-19
Author: ericarellano@me.com
File Name: src/python/pants/backend/awslambda/python/awslambda_python_rules_test.py
Class Name: TestPythonAWSLambdaCreation
Method Name: rules