File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Generated by Agent B — Lint & Type Scripts
2- .PHONY : lint test format typecheck format-check
2+ .PHONY : lint test format typecheck format-check clean
33
44lint :
55 ruff check src/ tests/
@@ -15,3 +15,7 @@ typecheck:
1515
1616test :
1717 pytest -q
18+
19+ clean :
20+ rm -rf build/ dist/ * .egg-info/ .pytest_cache/ __pycache__/
21+ find . -type d -name __pycache__ -exec rm -rf {} + 2> /dev/null || true
Original file line number Diff line number Diff line change 11"""DevForge unified CLI entry point."""
22
3- import builtins as _builtins
43import subprocess
54import sys
65import typer
@@ -86,7 +85,7 @@ def install(
8685):
8786 """Install a DevForge tool."""
8887 if tool == "all" :
89- targets = _builtins . list (TOOLS .keys ())
88+ targets = list (TOOLS .keys ())
9089 extras = "," .join (TOOLS .keys ())
9190 elif tool in TOOLS :
9291 targets = [tool ]
@@ -119,7 +118,7 @@ def show_versions(
119118 console .print (f"[red]Unknown tool: { tool } [/red]" )
120119 console .print (f"Available: { ', ' .join (TOOLS .keys ())} " )
121120 raise typer .Exit (code = 1 )
122- targets = [tool ] if tool else _builtins . list (TOOLS .keys ())
121+ targets = [tool ] if tool else list (TOOLS .keys ())
123122
124123 for t in targets :
125124 info = TOOLS [t ]
You can’t perform that action at this time.
0 commit comments