900e153218aa42a630e5dec3e9ce9ef6b8be1ed7,src/python/pants/backend/python/lint/black/rules.py,,setup_black,#Any#,47

Before Change


@rule
async def setup_black(black: Black) -> BlackSetup:
  config_path: Optional[str] = black.get_options().config
  config_snapshot = await Get[Snapshot](PathGlobs(include=(config_path,)))
  requirements_pex = await Get[Pex](
    CreatePex(
      output_filename="black.pex",

After Change


async def setup_black(black: Black) -> BlackSetup:
  config_path: Optional[str] = black.get_options().config
  config_snapshot = await Get[Snapshot](
    PathGlobs(include=tuple([config_path] if config_path else []))
  )
  requirements_pex = await Get[Pex](
    CreatePex(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pantsbuild/pants
Commit Name: 900e153218aa42a630e5dec3e9ce9ef6b8be1ed7
Time: 2019-12-24
Author: ericarellano@me.com
File Name: src/python/pants/backend/python/lint/black/rules.py
Class Name:
Method Name: setup_black


Project Name: pantsbuild/pants
Commit Name: d45af2806326ee71c8f163daea6c0512b58fadd2
Time: 2019-07-28
Author: stuhood@gmail.com
File Name: src/python/pants/backend/jvm/subsystems/zinc.py
Class Name: Zinc
Method Name: _run_bootstrapper


Project Name: pantsbuild/pants
Commit Name: 900e153218aa42a630e5dec3e9ce9ef6b8be1ed7
Time: 2019-12-24
Author: ericarellano@me.com
File Name: src/python/pants/backend/python/lint/flake8/rules.py
Class Name:
Method Name: lint