From d3911d4c0cfef797665a07c57e04eb01d13a1b86 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Thu, 16 Apr 2026 08:32:06 +0000 Subject: [PATCH] style: fix ruff formatting for checkpoint_cli.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: João --- lib/crewai/src/crewai/cli/checkpoint_cli.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/crewai/src/crewai/cli/checkpoint_cli.py b/lib/crewai/src/crewai/cli/checkpoint_cli.py index c77772d7f..1745c224f 100644 --- a/lib/crewai/src/crewai/cli/checkpoint_cli.py +++ b/lib/crewai/src/crewai/cli/checkpoint_cli.py @@ -175,7 +175,9 @@ def _entity_summary(entities: list[dict[str, Any]]) -> str: def _list_json(location: str) -> list[dict[str, Any]]: pattern = os.path.join(location, "**", "*.json") results = [] - for path in sorted(glob.glob(pattern, recursive=True), key=os.path.getmtime, reverse=True): + for path in sorted( + glob.glob(pattern, recursive=True), key=os.path.getmtime, reverse=True + ): name = os.path.basename(path) try: with open(path) as f: @@ -193,7 +195,9 @@ def _list_json(location: str) -> list[dict[str, Any]]: def _info_json_latest(location: str) -> dict[str, Any] | None: pattern = os.path.join(location, "**", "*.json") - files = sorted(glob.glob(pattern, recursive=True), key=os.path.getmtime, reverse=True) + files = sorted( + glob.glob(pattern, recursive=True), key=os.path.getmtime, reverse=True + ) if not files: return None path = files[0]