From e22d1852fe993f4f36947d6af67b9b4dad9d9ba8 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Thu, 9 Apr 2026 03:42:50 +0000 Subject: [PATCH] style: format decorators.py with ruff MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: João --- lib/crewai/src/crewai/flow/persistence/decorators.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/crewai/src/crewai/flow/persistence/decorators.py b/lib/crewai/src/crewai/flow/persistence/decorators.py index 5560a7e28..edc17bef2 100644 --- a/lib/crewai/src/crewai/flow/persistence/decorators.py +++ b/lib/crewai/src/crewai/flow/persistence/decorators.py @@ -123,9 +123,13 @@ class PersistenceDecorator: raise RuntimeError(f"State persistence failed: {e!s}") from e # Log storage location so users can find their persisted data - storage_location = getattr(persistence_instance, "db_path", type(persistence_instance).__name__) + storage_location = getattr( + persistence_instance, "db_path", type(persistence_instance).__name__ + ) if verbose: - msg = LOG_MESSAGES["save_state_location"].format(flow_uuid, storage_location) + msg = LOG_MESSAGES["save_state_location"].format( + flow_uuid, storage_location + ) PRINTER.print(msg, color="cyan") logger.info( LOG_MESSAGES["save_state_location"].format(flow_uuid, storage_location)