enhancement: introduce Ruff for Python linter for reordering and removing unused imports with automated pre-commit and sytle check (#2366)
This commit is contained in:
parent
42344795cd
commit
843280f82b
333 changed files with 2109 additions and 1050 deletions
|
|
@ -1,6 +1,8 @@
|
|||
import json
|
||||
from typing import Any, Generator, Union
|
||||
|
||||
from sqlalchemy import and_
|
||||
|
||||
from core.application_manager import ApplicationManager
|
||||
from core.entities.application_entities import InvokeFrom
|
||||
from core.file.message_file_parser import MessageFileParser
|
||||
|
|
@ -11,7 +13,6 @@ from services.errors.app import MoreLikeThisDisabledError
|
|||
from services.errors.app_model_config import AppModelConfigBrokenError
|
||||
from services.errors.conversation import ConversationCompletedError, ConversationNotExistsError
|
||||
from services.errors.message import MessageNotExistsError
|
||||
from sqlalchemy import and_
|
||||
|
||||
|
||||
class CompletionService:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue