Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: resolve linter errors (unused imports, f-strings)
  • Loading branch information
Michspirit99 committed Feb 9, 2026
commit 81f4c73ec9e2484373f9e15a63bc6d9327e1bdc4
1 change: 0 additions & 1 deletion samples/pytest_ai_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import ast
import json
import re
import sys

from copilot import CopilotClient

Expand Down
6 changes: 2 additions & 4 deletions samples/robot_copilot_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
import ast
import json
import re
import sys
from pathlib import Path

from copilot import CopilotClient

Expand Down Expand Up @@ -334,7 +332,7 @@ async def main():
keywords = ["zero", "empty", "division", "len"]
found = [kw for kw in keywords if kw in review]
if not found:
raise AssertionError(f"Bug not detected in review")
raise AssertionError("Bug not detected in review")
detail = f"Review:\n{response.data.content[:200]}"

elif "JSON" in scenario["when"]:
Expand All @@ -357,7 +355,7 @@ async def main():

for then_step in scenario["then"]:
print(f" Then {then_step} βœ…")
print(f" Result: PASS")
print(" Result: PASS")
print(f" {detail}")
passed += 1

Expand Down
3 changes: 0 additions & 3 deletions scripts/run_agent_scenarios.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
from dataclasses import dataclass
from pathlib import Path

from copilot import CopilotClient


@dataclass
class ScenarioResult:
Expand Down Expand Up @@ -94,7 +92,6 @@ async def run_sample_module(sample_path: Path, test_inputs: dict | None = None)

# Get captured output
output = stdout_capture.getvalue()
errors = stderr_capture.getvalue()

# Clean output (ASCII-only for cross-platform compatibility)
def clean_text(text: str) -> str:
Expand Down