Skip to content

Commit

Permalink
shell: move shell_setup.py to subsystems (pantsbuild#17670)
Browse files Browse the repository at this point in the history
Move `shell_setup.py` to subsystems to better fit with backend code organization.
  • Loading branch information
tdyas authored Nov 29, 2022
1 parent 3194302 commit c74dccd
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/python/pants/backend/shell/dependency_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from typing import DefaultDict

from pants.backend.shell.lint.shellcheck.subsystem import Shellcheck
from pants.backend.shell.shell_setup import ShellSetup
from pants.backend.shell.subsystems.shell_setup import ShellSetup
from pants.backend.shell.target_types import ShellDependenciesField, ShellSourceField
from pants.core.util_rules.external_tool import DownloadedExternalTool, ExternalToolRequest
from pants.engine.addresses import Address
Expand Down
2 changes: 1 addition & 1 deletion src/python/pants/backend/shell/goals/tailor.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from dataclasses import dataclass
from typing import Iterable

from pants.backend.shell.shell_setup import ShellSetup
from pants.backend.shell.subsystems.shell_setup import ShellSetup
from pants.backend.shell.target_types import (
ShellSourcesGeneratorTarget,
Shunit2TestsGeneratorSourcesField,
Expand Down
2 changes: 1 addition & 1 deletion src/python/pants/backend/shell/shunit2_test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
from dataclasses import dataclass
from typing import Any

from pants.backend.shell.shell_setup import ShellSetup
from pants.backend.shell.shunit2 import Shunit2
from pants.backend.shell.subsystems.shell_setup import ShellSetup
from pants.backend.shell.target_types import (
ShellSourceField,
Shunit2Shell,
Expand Down
Empty file.
2 changes: 1 addition & 1 deletion src/python/pants/backend/shell/target_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import re
from enum import Enum

from pants.backend.shell.shell_setup import ShellSetup
from pants.backend.shell.subsystems.shell_setup import ShellSetup
from pants.core.goals.test import RuntimePackageDependenciesField, TestTimeoutField
from pants.core.util_rules.environments import EnvironmentField
from pants.core.util_rules.system_binaries import BinaryPathTest
Expand Down
2 changes: 1 addition & 1 deletion src/python/pants/backend/shell/util_rules/shell_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from dataclasses import dataclass
from textwrap import dedent # noqa: PNT20

from pants.backend.shell.shell_setup import ShellSetup
from pants.backend.shell.subsystems.shell_setup import ShellSetup
from pants.backend.shell.target_types import (
ShellCommandCommandField,
ShellCommandExtraEnvVarsField,
Expand Down

0 comments on commit c74dccd

Please sign in to comment.