refactor: simplify code formatting and improve readability across multiple files

This commit is contained in:
Abhimanyu Saharan
2026-02-09 20:44:05 +05:30
parent 020d02fa22
commit 8f6347dc8d
33 changed files with 393 additions and 427 deletions

View File

@@ -79,11 +79,7 @@ def blocked_by_dependency_ids(
status_by_id: Mapping[UUID, str],
) -> list[UUID]:
"""Return dependency ids that are not yet in the done status."""
return [
dep_id
for dep_id in dependency_ids
if status_by_id.get(dep_id) != DONE_STATUS
]
return [dep_id for dep_id in dependency_ids if status_by_id.get(dep_id) != DONE_STATUS]
async def blocked_by_for_task(