chore: bump ruff to 0.6.8 for fixing violation in SIM910 (#8869)

This commit is contained in:
Bowen Liang
2024-09-29 00:29:59 +08:00
committed by GitHub
parent f97607370a
commit 74f58f29f9
7 changed files with 27 additions and 27 deletions

View File

@@ -45,7 +45,7 @@ class Jieba(BaseKeyword):
keyword_table_handler = JiebaKeywordTableHandler()
keyword_table = self._get_dataset_keyword_table()
keywords_list = kwargs.get("keywords_list", None)
keywords_list = kwargs.get("keywords_list")
for i in range(len(texts)):
text = texts[i]
if keywords_list: