-
Notifications
You must be signed in to change notification settings - Fork 2
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
chore: use ruff in the project #87
Conversation
…eginning of docstrigns.
# Conflicts: # .pre-commit-config.yaml # packages/ragbits-core/src/ragbits/core/embeddings/litellm.py # packages/ragbits-core/src/ragbits/core/llms/base.py # packages/ragbits-core/src/ragbits/core/llms/clients/base.py # packages/ragbits-core/src/ragbits/core/prompt/base.py # packages/ragbits-core/src/ragbits/core/prompt/lab/app.py # packages/ragbits-core/src/ragbits/core/prompt/parsers.py # packages/ragbits-core/src/ragbits/core/prompt/prompt.py # packages/ragbits-core/src/ragbits/core/vector_store/base.py # packages/ragbits-core/src/ragbits/core/vector_store/chromadb_store.py # packages/ragbits-document-search/src/ragbits/document_search/_main.py # packages/ragbits-document-search/src/ragbits/document_search/ingestion/document_processor.py # packages/ragbits-document-search/src/ragbits/document_search/ingestion/providers/unstructured.py # packages/ragbits-document-search/src/ragbits/document_search/retrieval/rerankers/noop.py # pyproject.toml # scripts/update_ragbits_package.py
# Conflicts: # packages/ragbits-core/examples/chromadb_example.py # packages/ragbits-core/src/ragbits/core/embeddings/litellm.py # packages/ragbits-core/src/ragbits/core/prompt/lab/app.py # packages/ragbits-core/src/ragbits/core/prompt/prompt.py # packages/ragbits-core/src/ragbits/core/prompt/promptfoo.py # packages/ragbits-core/tests/unit/prompts/test_prompt.py # packages/ragbits-document-search/tests/unit/test_providers.py
Code Coverage Summary
Diff against main
Results for commit: f29285d Minimum allowed coverage is ♻️ This comment has been updated with latest results |
Trivy scanning results. .venv/lib/python3.10/site-packages/litellm/proxy/_types.py (secrets)Total: 1 (MEDIUM: 1, HIGH: 0, CRITICAL: 0) MEDIUM: Slack (slack-web-hook) .venv/lib/python3.10/site-packages/PyJWT-2.9.0.dist-info/METADATA (secrets)Total: 1 (MEDIUM: 1, HIGH: 0, CRITICAL: 0) MEDIUM: JWT (jwt-token) .venv/lib/python3.10/site-packages/litellm/llms/huggingface_llms_metadata/hf_text_generation_models.txt (secrets)Total: 1 (MEDIUM: 0, HIGH: 0, CRITICAL: 1) CRITICAL: HuggingFace (hugging-face-access-token) |
Please mind that too-many-newlines-at-end-of-file (W391) is still in preview mode. |
In general, most of the code should remain unchanged, please fix the formatting problems. |
packages/ragbits-document-search/src/ragbits/document_search/ingestion/document_processor.py
Outdated
Show resolved
Hide resolved
There seem to be more formatting issues than I initially noticed
# Conflicts: # packages/ragbits-core/src/ragbits/core/prompt/lab/app.py # packages/ragbits-core/src/ragbits/core/vector_store/__init__.py # packages/ragbits-document-search/src/ragbits/document_search/_main.py
# Conflicts: # packages/ragbits-cli/src/ragbits/cli/__init__.py # packages/ragbits-core/src/ragbits/core/prompt/promptfoo.py # packages/ragbits-core/src/ragbits/core/vector_store/chromadb_store.py # packages/ragbits-document-search/src/ragbits/document_search/_main.py # packages/ragbits-document-search/src/ragbits/document_search/documents/document.py # packages/ragbits-document-search/src/ragbits/document_search/documents/sources.py
No description provided.