style: apply ruff format across the repository
ruff format was never run repo-wide; CI now enforces 'ruff format --check', so normalize every module once. No behavior changes. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
4a2e9d658f
commit
9ec6c4a989
@@ -68,7 +68,10 @@ async def test_analysis_entity_stats(backend):
|
||||
stats = await backend.analysis_stats()
|
||||
assert isinstance(stats, dict)
|
||||
by_type = stats.get("by_type", stats)
|
||||
total = stats.get("total", stats.get("total_entities", sum(by_type.values()) if isinstance(by_type, dict) else 0))
|
||||
total = stats.get(
|
||||
"total",
|
||||
stats.get("total_entities", sum(by_type.values()) if isinstance(by_type, dict) else 0),
|
||||
)
|
||||
assert total >= 3
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user