Skip to content

custom reranker support #76

custom reranker support

custom reranker support #76

Re-run triggered April 8, 2025 02:01
Status Failure
Total duration 23s
Artifacts

formatting.yaml

on: pull_request
style-check
11s
style-check
Fit to window
Zoom out
Zoom in

Annotations

9 errors
Ruff (F401): src/vectorcode/rerankers/builtins.py#L3
src/vectorcode/rerankers/builtins.py:3:20: F401 `typing.Any` imported but unused
Ruff (F401): src/vectorcode/rerankers/builtins.py#L3
src/vectorcode/rerankers/builtins.py:3:38: F401 `typing.Dict` imported but unused
Ruff (F541): src/vectorcode/rerankers/llama_cpp.py#L96
src/vectorcode/rerankers/llama_cpp.py:96:27: F541 f-string without any placeholders
Ruff (F541): src/vectorcode/subcommands/query/__init__.py#L90
src/vectorcode/subcommands/query/__init__.py:90:19: F541 f-string without any placeholders
Ruff (F401): src/vectorcode/subcommands/query/reranker.py#L10
src/vectorcode/subcommands/query/reranker.py:10:8: F401 `sys` imported but unused
Ruff (E402): src/vectorcode/subcommands/query/reranker.py#L22
src/vectorcode/subcommands/query/reranker.py:22:1: E402 Module level import not at top of file
Ruff (F401): tests/test_rerankers.py#L8
tests/test_rerankers.py:8:32: F401 `chromadb.api.types.QueryResult` imported but unused
Ruff (F401): tests/test_rerankers.py#L13
tests/test_rerankers.py:13:5: F401 `vectorcode.rerankers.CrossEncoderReranker` imported but unused
style-check
The process '/opt/hostedtoolcache/ruff/0.11.4/x86_64/ruff' failed with exit code 1