Skip to content

Commit 1f6f56d

Browse files
GeneAIclaude
authored andcommitted
fix: Remove unused 'target' variable in refactor_plan workflow
Removes unused local variable to pass ruff linting checks for v3.7.0 release. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
1 parent 15d0b79 commit 1f6f56d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/empathy_os/workflows/refactor_plan.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,6 @@ async def _prioritize(self, input_data: dict, tier: ModelTier) -> tuple[dict, in
340340
crew_enhanced = False
341341
crew_findings = []
342342
if self.use_crew_for_analysis and self._crew_available:
343-
target = input_data.get("path", ".")
344343
try:
345344
# Analyze hotspot files with the crew
346345
for hotspot in list(hotspots)[:5]: # Analyze top 5 hotspots
@@ -360,9 +359,9 @@ async def _prioritize(self, input_data: dict, tier: ModelTier) -> tuple[dict, in
360359
"description": finding.description,
361360
"severity": finding.severity.value,
362361
"category": finding.category.value,
363-
"priority_score": 15
364-
if finding.severity.value == "high"
365-
else 10,
362+
"priority_score": (
363+
15 if finding.severity.value == "high" else 10
364+
),
366365
"is_hotspot": True,
367366
"source": "crew",
368367
}

0 commit comments

Comments
 (0)