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,8 +1,9 @@
|
|||
from typing import List, Optional
|
||||
|
||||
from core.model_manager import ModelInstance
|
||||
from langchain.schema import Document
|
||||
|
||||
from core.model_manager import ModelInstance
|
||||
|
||||
|
||||
class RerankRunner:
|
||||
def __init__(self, rerank_model_instance: ModelInstance) -> None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue