Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/pcd_cli/cli/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
from pcd_cli.cli.roots import root_commands
from pcd_cli.cli.shell import shell_commands
from pcd_cli.config import InvalidConfigError
from pcd_cli.integrations.shell import ShellIntegrationError
from pcd_cli.models import ExitCode
from pcd_cli.navigation import navigate_to_project, project_completions
from pcd_cli.shell_integration import ShellIntegrationError

if TYPE_CHECKING:
from click.shell_completion import CompletionItem
Expand Down
2 changes: 1 addition & 1 deletion src/pcd_cli/cli/shell.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import click

from pcd_cli.shell_integration import (
from pcd_cli.integrations.shell import (
detect_shell,
render_shell_integration,
Shell,
Expand Down
1 change: 1 addition & 0 deletions src/pcd_cli/integrations/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""External environment integrations."""
File renamed without changes.
4 changes: 2 additions & 2 deletions src/pcd_cli/navigation.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@

from pcd_cli.catalog import ProjectCatalog
from pcd_cli.filesystem import format_path
from pcd_cli.models import ExitCode, ProjectSource
from pcd_cli.shell_integration import (
from pcd_cli.integrations.shell import (
inactive_shell_message,
SHELL_CD_EXIT_CODE,
shell_integration_active,
)
from pcd_cli.models import ExitCode, ProjectSource

if TYPE_CHECKING:
from collections.abc import Sequence
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
from pcd_cli.catalog import ProjectCatalog
from pcd_cli.cli import cli, ProjectCommandGroup
from pcd_cli.config import InvalidConfigError
from pcd_cli.integrations.shell import ShellIntegrationError
from pcd_cli.models import Project, ProjectSource
from pcd_cli.shell_integration import ShellIntegrationError

if TYPE_CHECKING:
from pathlib import Path
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

from pcd_cli.cli import cli
from pcd_cli.cli.shell import init_shell
from pcd_cli.shell_integration import (
from pcd_cli.integrations.shell import (
inactive_shell_message,
render_shell_integration,
Shell,
Expand Down