4be101000cb9179a9ee5edd1fc7e74af3a00348d,src/python/pants/backend/python/lint/isort/rules.py,,lint,#Any#Any#,139

Before Change


async def lint(wrapped_target: IsortTarget, isort_setup: IsortSetup) -> LintResult:
  if isort_setup.skip:
    return LintResult.noop()
  args = IsortArgs.create(wrapped_target=wrapped_target, isort_setup=isort_setup, check_only=True)
  request = await Get[ExecuteProcessRequest](IsortArgs, args)
  result = await Get[FallibleExecuteProcessResult](ExecuteProcessRequest, request)
  return LintResult.from_fallible_execute_process_result(result)

After Change


    lint,
    subsystem_rule(Isort),
    UnionRule(PythonFormatTarget, IsortTarget),
    UnionRule(PythonLintTarget, IsortTarget),
    *download_pex_bin.rules(),
    *find_target_source_files.rules(),
    *pex.rules(),
    *python_native_code.rules(),
    *strip_source_roots.rules(),
    *subprocess_environment.rules(),
  ]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 9

Instances


Project Name: pantsbuild/pants
Commit Name: 4be101000cb9179a9ee5edd1fc7e74af3a00348d
Time: 2020-02-15
Author: ericarellano@me.com
File Name: src/python/pants/backend/python/lint/isort/rules.py
Class Name:
Method Name: lint


Project Name: pantsbuild/pants
Commit Name: 4be101000cb9179a9ee5edd1fc7e74af3a00348d
Time: 2020-02-15
Author: ericarellano@me.com
File Name: src/python/pants/backend/python/lint/black/rules.py
Class Name:
Method Name: lint


Project Name: pantsbuild/pants
Commit Name: 4be101000cb9179a9ee5edd1fc7e74af3a00348d
Time: 2020-02-15
Author: ericarellano@me.com
File Name: src/python/pants/backend/python/lint/isort/rules.py
Class Name:
Method Name: fmt


Project Name: pantsbuild/pants
Commit Name: 4be101000cb9179a9ee5edd1fc7e74af3a00348d
Time: 2020-02-15
Author: ericarellano@me.com
File Name: src/python/pants/backend/python/lint/black/rules.py
Class Name:
Method Name: fmt