From 6174554c5835e1ff0e31246aa419d33dab87fd1c Mon Sep 17 00:00:00 2001 From: yangdx Date: Sat, 12 Apr 2025 20:50:21 +0800 Subject: [PATCH] Fix linting --- lightrag/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightrag/utils.py b/lightrag/utils.py index 8473ea81..43d82196 100644 --- a/lightrag/utils.py +++ b/lightrag/utils.py @@ -1006,7 +1006,7 @@ def get_content_summary(content: str, max_length: int = 250) -> str: return content[:max_length] + "..." -def normalize_extracted_info(name: str, is_entity = False) -> str: +def normalize_extracted_info(name: str, is_entity=False) -> str: """Normalize entity/relation names and description with the following rules: 1. Remove spaces between Chinese characters 2. Remove spaces between Chinese characters and English letters/numbers