Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update Ruff linting configs #392

Merged
merged 1 commit into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions openssa/deprecated/ooda_rag/rag_ooda.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from typing import Union, ClassVar
from uuid import uuid4

from llama_index.core.retrievers import BaseRetriever # noqa: TCH002
from llama_index.core.schema import NodeWithScore # noqa: TCH002
from llama_index.core.retrievers import BaseRetriever # noqa: TC002
from llama_index.core.schema import NodeWithScore # noqa: TC002

from openssa.deprecated.ooda_rag.builtin_agents import (
ContextValidator,
Expand Down
2 changes: 1 addition & 1 deletion openssa/deprecated/utils/deprecated/llama_index_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from llama_index.core import ServiceContext
from llama_index.core.llms import OpenAI as LlamaIndexOpenAI
from llama_index.core.llms.llm import LLM # noqa: TCH002
from llama_index.core.llms.llm import LLM # noqa: TC002
from llama_index.core.llms.openai_utils import ALL_AVAILABLE_MODELS, CHAT_MODELS
from llama_index.embeddings.azure_openai import AzureOpenAIEmbedding
from llama_index.embeddings.openai import OpenAIEmbedding
Expand Down