From 37f964ae5a92a981b3d53a83f026ba82bdfb12c9 Mon Sep 17 00:00:00 2001 From: estelle Date: Fri, 3 Jan 2025 10:23:17 +0100 Subject: [PATCH] ruff --- src/neo4j_graphrag/utils/logging.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/neo4j_graphrag/utils/logging.py b/src/neo4j_graphrag/utils/logging.py index eee12209..5917ff10 100644 --- a/src/neo4j_graphrag/utils/logging.py +++ b/src/neo4j_graphrag/utils/logging.py @@ -34,12 +34,12 @@ class Prettyfier: """ def __init__(self) -> None: - self.max_list_length = int(os.environ.get( - "LOGGING__MAX_LIST_LENGTH", DEFAULT_MAX_LIST_LENGTH - )) - self.max_string_length = int(os.environ.get( - "LOGGING__MAX_STRING_LENGTH", DEFAULT_MAX_STRING_LENGTH - )) + self.max_list_length = int( + os.environ.get("LOGGING__MAX_LIST_LENGTH", DEFAULT_MAX_LIST_LENGTH) + ) + self.max_string_length = int( + os.environ.get("LOGGING__MAX_STRING_LENGTH", DEFAULT_MAX_STRING_LENGTH) + ) def _prettyfy_dict(self, value: dict[Any, Any]) -> dict[Any, Any]: return {