chore: use ruff in the project #230
11 tests run, 0 passed, 0 skipped, 11 failed.
Annotations
Check failure on line 1 in packages/ragbits-core/tests/unit/vector_stores/test_chromadb_store.py
github-actions / JUnit Test Report
test_chromadb_store.packages.ragbits-core.tests.unit.vector_stores.test_chromadb_store
collection failure
Raw output
packages/ragbits-core/tests/unit/vector_stores/test_chromadb_store.py:7: in <module>
from ragbits.core.vector_store import ChromaDBStore, VectorDBEntry
packages/ragbits-core/src/ragbits/core/vector_store/__init__.py:5: in <module>
from .chromadb_store import ChromaDBStore
packages/ragbits-core/src/ragbits/core/vector_store/chromadb_store.py:17: in <module>
class ChromaDBStore(VectorStore):
packages/ragbits-core/src/ragbits/core/vector_store/chromadb_store.py:26: in ChromaDBStore
embedding_function: Embeddings | "chromadb.EmbeddingFunction",
E TypeError: unsupported operand type(s) for |: 'ABCMeta' and 'str'
github-actions / JUnit Test Report
test_simple_vector_store.packages.ragbits-core.tests.unit.vector_stores.test_simple_vector_store
collection failure
Raw output
packages/ragbits-core/tests/unit/vector_stores/test_simple_vector_store.py:3: in <module>
from ragbits.core.vector_store.in_memory import InMemoryVectorStore
packages/ragbits-core/src/ragbits/core/vector_store/__init__.py:5: in <module>
from .chromadb_store import ChromaDBStore
packages/ragbits-core/src/ragbits/core/vector_store/chromadb_store.py:17: in <module>
class ChromaDBStore(VectorStore):
packages/ragbits-core/src/ragbits/core/vector_store/chromadb_store.py:26: in ChromaDBStore
embedding_function: Embeddings | "chromadb.EmbeddingFunction",
E TypeError: unsupported operand type(s) for |: 'ABCMeta' and 'str'
Check failure on line 1 in packages/ragbits-document-search/tests/integration/test_sources.py
github-actions / JUnit Test Report
test_sources.packages.ragbits-document-search.tests.integration.test_sources
collection failure
Raw output
packages/ragbits-document-search/tests/integration/test_sources.py:6: in <module>
from ragbits.document_search.documents.exceptions import SourceNotFoundError
packages/ragbits-document-search/src/ragbits/document_search/__init__.py:1: in <module>
from ._main import DocumentSearch
packages/ragbits-document-search/src/ragbits/document_search/_main.py:6: in <module>
from ragbits.core.vector_store import VectorStore, get_vector_store
packages/ragbits-core/src/ragbits/core/vector_store/__init__.py:5: in <module>
from .chromadb_store import ChromaDBStore
packages/ragbits-core/src/ragbits/core/vector_store/chromadb_store.py:17: in <module>
class ChromaDBStore(VectorStore):
packages/ragbits-core/src/ragbits/core/vector_store/chromadb_store.py:26: in ChromaDBStore
embedding_function: Embeddings | "chromadb.EmbeddingFunction",
E TypeError: unsupported operand type(s) for |: 'ABCMeta' and 'str'
Check failure on line 1 in packages/ragbits-document-search/tests/integration/test_unstructured.py
github-actions / JUnit Test Report
test_unstructured.packages.ragbits-document-search.tests.integration.test_unstructured
collection failure
Raw output
packages/ragbits-document-search/tests/integration/test_unstructured.py:5: in <module>
from ragbits.document_search.documents.document import DocumentMeta, DocumentType
packages/ragbits-document-search/src/ragbits/document_search/__init__.py:1: in <module>
from ._main import DocumentSearch
packages/ragbits-document-search/src/ragbits/document_search/_main.py:6: in <module>
from ragbits.core.vector_store import VectorStore, get_vector_store
packages/ragbits-core/src/ragbits/core/vector_store/__init__.py:5: in <module>
from .chromadb_store import ChromaDBStore
packages/ragbits-core/src/ragbits/core/vector_store/chromadb_store.py:17: in <module>
class ChromaDBStore(VectorStore):
packages/ragbits-core/src/ragbits/core/vector_store/chromadb_store.py:26: in ChromaDBStore
embedding_function: Embeddings | "chromadb.EmbeddingFunction",
E TypeError: unsupported operand type(s) for |: 'ABCMeta' and 'str'
Check failure on line 1 in packages/ragbits-document-search/tests/unit/test_document_processor.py
github-actions / JUnit Test Report
test_document_processor.packages.ragbits-document-search.tests.unit.test_document_processor
collection failure
Raw output
packages/ragbits-document-search/tests/unit/test_document_processor.py:3: in <module>
from ragbits.document_search.documents.document import DocumentMeta, DocumentType
packages/ragbits-document-search/src/ragbits/document_search/__init__.py:1: in <module>
from ._main import DocumentSearch
packages/ragbits-document-search/src/ragbits/document_search/_main.py:6: in <module>
from ragbits.core.vector_store import VectorStore, get_vector_store
packages/ragbits-core/src/ragbits/core/vector_store/__init__.py:5: in <module>
from .chromadb_store import ChromaDBStore
packages/ragbits-core/src/ragbits/core/vector_store/chromadb_store.py:17: in <module>
class ChromaDBStore(VectorStore):
packages/ragbits-core/src/ragbits/core/vector_store/chromadb_store.py:26: in ChromaDBStore
embedding_function: Embeddings | "chromadb.EmbeddingFunction",
E TypeError: unsupported operand type(s) for |: 'ABCMeta' and 'str'
Check failure on line 1 in packages/ragbits-document-search/tests/unit/test_document_search.py
github-actions / JUnit Test Report
test_document_search.packages.ragbits-document-search.tests.unit.test_document_search
collection failure
Raw output
packages/ragbits-document-search/tests/unit/test_document_search.py:8: in <module>
from ragbits.core.vector_store.in_memory import InMemoryVectorStore
packages/ragbits-core/src/ragbits/core/vector_store/__init__.py:5: in <module>
from .chromadb_store import ChromaDBStore
packages/ragbits-core/src/ragbits/core/vector_store/chromadb_store.py:17: in <module>
class ChromaDBStore(VectorStore):
packages/ragbits-core/src/ragbits/core/vector_store/chromadb_store.py:26: in ChromaDBStore
embedding_function: Embeddings | "chromadb.EmbeddingFunction",
E TypeError: unsupported operand type(s) for |: 'ABCMeta' and 'str'
Check failure on line 1 in packages/ragbits-document-search/tests/unit/test_documents.py
github-actions / JUnit Test Report
test_documents.packages.ragbits-document-search.tests.unit.test_documents
collection failure
Raw output
packages/ragbits-document-search/tests/unit/test_documents.py:4: in <module>
from ragbits.document_search.documents.document import (
packages/ragbits-document-search/src/ragbits/document_search/__init__.py:1: in <module>
from ._main import DocumentSearch
packages/ragbits-document-search/src/ragbits/document_search/_main.py:6: in <module>
from ragbits.core.vector_store import VectorStore, get_vector_store
packages/ragbits-core/src/ragbits/core/vector_store/__init__.py:5: in <module>
from .chromadb_store import ChromaDBStore
packages/ragbits-core/src/ragbits/core/vector_store/chromadb_store.py:17: in <module>
class ChromaDBStore(VectorStore):
packages/ragbits-core/src/ragbits/core/vector_store/chromadb_store.py:26: in ChromaDBStore
embedding_function: Embeddings | "chromadb.EmbeddingFunction",
E TypeError: unsupported operand type(s) for |: 'ABCMeta' and 'str'
github-actions / JUnit Test Report
test_elements.packages.ragbits-document-search.tests.unit.test_elements
collection failure
Raw output
packages/ragbits-document-search/tests/unit/test_elements.py:2: in <module>
from ragbits.document_search.documents.document import DocumentType
packages/ragbits-document-search/src/ragbits/document_search/__init__.py:1: in <module>
from ._main import DocumentSearch
packages/ragbits-document-search/src/ragbits/document_search/_main.py:6: in <module>
from ragbits.core.vector_store import VectorStore, get_vector_store
packages/ragbits-core/src/ragbits/core/vector_store/__init__.py:5: in <module>
from .chromadb_store import ChromaDBStore
packages/ragbits-core/src/ragbits/core/vector_store/chromadb_store.py:17: in <module>
class ChromaDBStore(VectorStore):
packages/ragbits-core/src/ragbits/core/vector_store/chromadb_store.py:26: in ChromaDBStore
embedding_function: Embeddings | "chromadb.EmbeddingFunction",
E TypeError: unsupported operand type(s) for |: 'ABCMeta' and 'str'
Check failure on line 1 in packages/ragbits-document-search/tests/unit/test_local_file_source.py
github-actions / JUnit Test Report
test_local_file_source.packages.ragbits-document-search.tests.unit.test_local_file_source
collection failure
Raw output
packages/ragbits-document-search/tests/unit/test_local_file_source.py:3: in <module>
from ragbits.document_search.documents.sources import LocalFileSource
packages/ragbits-document-search/src/ragbits/document_search/__init__.py:1: in <module>
from ._main import DocumentSearch
packages/ragbits-document-search/src/ragbits/document_search/_main.py:6: in <module>
from ragbits.core.vector_store import VectorStore, get_vector_store
packages/ragbits-core/src/ragbits/core/vector_store/__init__.py:5: in <module>
from .chromadb_store import ChromaDBStore
packages/ragbits-core/src/ragbits/core/vector_store/chromadb_store.py:17: in <module>
class ChromaDBStore(VectorStore):
packages/ragbits-core/src/ragbits/core/vector_store/chromadb_store.py:26: in ChromaDBStore
embedding_function: Embeddings | "chromadb.EmbeddingFunction",
E TypeError: unsupported operand type(s) for |: 'ABCMeta' and 'str'
Check failure on line 1 in packages/ragbits-document-search/tests/unit/test_providers.py
github-actions / JUnit Test Report
test_providers.packages.ragbits-document-search.tests.unit.test_providers
collection failure
Raw output
packages/ragbits-document-search/tests/unit/test_providers.py:6: in <module>
from ragbits.document_search.documents.document import DocumentMeta, DocumentType
packages/ragbits-document-search/src/ragbits/document_search/__init__.py:1: in <module>
from ._main import DocumentSearch
packages/ragbits-document-search/src/ragbits/document_search/_main.py:6: in <module>
from ragbits.core.vector_store import VectorStore, get_vector_store
packages/ragbits-core/src/ragbits/core/vector_store/__init__.py:5: in <module>
from .chromadb_store import ChromaDBStore
packages/ragbits-core/src/ragbits/core/vector_store/chromadb_store.py:17: in <module>
class ChromaDBStore(VectorStore):
packages/ragbits-core/src/ragbits/core/vector_store/chromadb_store.py:26: in ChromaDBStore
embedding_function: Embeddings | "chromadb.EmbeddingFunction",
E TypeError: unsupported operand type(s) for |: 'ABCMeta' and 'str'
Check failure on line 1 in packages/ragbits-document-search/tests/integration/test_sources.py
github-actions / JUnit Test Report
test_sources.packages.ragbits-document-search.tests.unit.test_sources
collection failure
Raw output
packages/ragbits-document-search/tests/unit/test_sources.py:5: in <module>
from ragbits.document_search.documents.sources import LOCAL_STORAGE_DIR_ENV, GCSSource, HuggingFaceSource
packages/ragbits-document-search/src/ragbits/document_search/__init__.py:1: in <module>
from ._main import DocumentSearch
packages/ragbits-document-search/src/ragbits/document_search/_main.py:6: in <module>
from ragbits.core.vector_store import VectorStore, get_vector_store
packages/ragbits-core/src/ragbits/core/vector_store/__init__.py:5: in <module>
from .chromadb_store import ChromaDBStore
packages/ragbits-core/src/ragbits/core/vector_store/chromadb_store.py:17: in <module>
class ChromaDBStore(VectorStore):
packages/ragbits-core/src/ragbits/core/vector_store/chromadb_store.py:26: in ChromaDBStore
embedding_function: Embeddings | "chromadb.EmbeddingFunction",
E TypeError: unsupported operand type(s) for |: 'ABCMeta' and 'str'