fix: Address high-severity bandit issues
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
Example 3: Project Analysis & Quick Wins
|
||||
Example 3: Project Analysis & Quick Wins.
|
||||
|
||||
Shows how to analyze a React project and identify improvement opportunities.
|
||||
"""
|
||||
@@ -28,8 +28,8 @@ async def main():
|
||||
scanner = ProjectScanner(project_path)
|
||||
analysis = await scanner.scan()
|
||||
|
||||
print(f"✅ Project scanned successfully")
|
||||
print(f"\nProject Details:")
|
||||
print("✅ Project scanned successfully")
|
||||
print("\nProject Details:")
|
||||
print(f" Framework: {analysis.framework}")
|
||||
print(f" Styling: {analysis.styling_approach}")
|
||||
print(f" Package Manager: {analysis.package_manager}")
|
||||
@@ -63,7 +63,8 @@ async def main():
|
||||
print("-" * 60)
|
||||
|
||||
high_roi = [
|
||||
w for w in wins.opportunities
|
||||
w
|
||||
for w in wins.opportunities
|
||||
if w.impact.value == "high" and w.effort.value in ["low", "medium"]
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user