Skip to content

Commit 6dd0a36

Browse files
[fix] clean up imports - add pr_command to imports and let ruff handle sorting
1 parent 1f9eade commit 6dd0a36

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

comfy_cli/cmdline.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from rich.console import Console
1111

1212
from comfy_cli import constants, env_checker, logging, tracking, ui, utils
13-
from comfy_cli.command import custom_nodes
13+
from comfy_cli.command import custom_nodes, pr_command
1414
from comfy_cli.command import install as install_inner
1515
from comfy_cli.command import run as run_inner
1616
from comfy_cli.command.install import validate_version
@@ -666,8 +666,6 @@ def standalone(
666666
app.add_typer(custom_nodes.app, name="node", help="Manage custom nodes.")
667667
app.add_typer(custom_nodes.manager_app, name="manager", help="Manage ComfyUI-Manager.")
668668

669-
# Import pr_command here to avoid circular imports
670-
from comfy_cli.command import pr_command
671-
672669
app.add_typer(pr_command.app, name="pr-cache", help="Manage PR cache.")
670+
673671
app.add_typer(tracking.app, name="tracking", help="Manage analytics tracking settings.")

0 commit comments

Comments
 (0)