@@ -82,9 +82,7 @@ def list_tools(
8282
8383@app .command ()
8484def install (
85- tool : str = typer .Argument (
86- ..., help = "Tool to install: " + ", " .join (TOOLS .keys ()) + ", or 'all'"
87- ),
85+ tool : str = typer .Argument (..., help = "Tool to install: " + ", " .join (TOOLS .keys ()) + ", or 'all'" ),
8886):
8987 """Install a DevForge tool."""
9088 if tool == "all" :
@@ -101,10 +99,7 @@ def install(
10199 pkg = f"devforge[{ extras } ]"
102100 console .print (f"[yellow]Installing { pkg } ...[/yellow]" )
103101 try :
104- result = subprocess .run (
105- [sys .executable , "-m" , "pip" , "install" , pkg ],
106- capture_output = True , text = True
107- )
102+ result = subprocess .run ([sys .executable , "-m" , "pip" , "install" , pkg ], capture_output = True , text = True )
108103 if result .returncode == 0 :
109104 console .print (f"[green]Successfully installed:[/green] { ', ' .join (targets )} " )
110105 else :
@@ -130,8 +125,7 @@ def show_versions(
130125 info = TOOLS [t ]
131126 try :
132127 result = subprocess .run (
133- [sys .executable , "-m" , "pip" , "show" , info ["package" ]],
134- capture_output = True , text = True
128+ [sys .executable , "-m" , "pip" , "show" , info ["package" ]], capture_output = True , text = True
135129 )
136130 if result .returncode == 0 :
137131 for line in result .stdout .splitlines ():
0 commit comments