style: apply ruff formatting to all files

Formatted 14 files to comply with ruff formatting rules:
- Consistent code style across codebase
- Improved readability
- All formatting checks now pass

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
mithun50
2025-11-12 18:19:45 +01:00
parent e2896335ba
commit b00547ad53
14 changed files with 147 additions and 128 deletions

View File

@@ -5,7 +5,6 @@ This file is automatically loaded by pytest and provides
shared fixtures available to all test modules.
"""
import pytest

View File

@@ -138,7 +138,9 @@ class TestInstallCommands:
expected = ["agent", "index-repo", "recommend", "research"]
for expected_cmd in expected:
assert expected_cmd in commands, f"Expected command '{expected_cmd}' not found"
assert expected_cmd in commands, (
f"Expected command '{expected_cmd}' not found"
)
class TestInstallCommandsEdgeCases:

View File

@@ -60,7 +60,9 @@ class TestConfidenceChecker:
confidence = checker.assess(context)
assert 0.7 <= confidence < 0.9, f"Expected medium confidence 0.7-0.9, got {confidence}"
assert 0.7 <= confidence < 0.9, (
f"Expected medium confidence 0.7-0.9, got {confidence}"
)
assert confidence == 0.7, "Should be exactly 70%"
def test_confidence_checks_recorded(self, sample_context):