refactor(chat_router): Step 6 - Extract RAG retrieval logic to rag_re… #849
lint.yml
on: push
Lint with Ruff
34s
Type Check (Optional)
2m 29s
Annotations
10 errors
|
Ruff (F541):
backend/api/handlers/rag_retrieval_handler.py#L149
backend/api/handlers/rag_retrieval_handler.py:149:33: F541 f-string without any placeholders
|
|
Ruff (F541):
backend/api/handlers/query_classifier.py#L298
backend/api/handlers/query_classifier.py:298:25: F541 f-string without any placeholders
|
|
Ruff (F841):
backend/api/handlers/prompt_builder.py#L1082
backend/api/handlers/prompt_builder.py:1082:5: F841 Local variable `truncated_question` is assigned to but never used
|
|
Ruff (F541):
backend/api/handlers/prompt_builder.py#L877
backend/api/handlers/prompt_builder.py:877:44: F541 f-string without any placeholders
|
|
Ruff (F401):
backend/api/handlers/prompt_builder.py#L9
backend/api/handlers/prompt_builder.py:9:30: F401 `typing.List` imported but unused
|
|
Ruff (F401):
arxiv/figures/generate_fig3_results.py#L7
arxiv/figures/generate_fig3_results.py:7:17: F401 `numpy` imported but unused
|
|
Ruff (F401):
arxiv/figures/generate_fig2_validation_chain.py#L7
arxiv/figures/generate_fig2_validation_chain.py:7:30: F401 `matplotlib.patches` imported but unused
|
|
Ruff (F401):
arxiv/figures/generate_fig1_architecture.py#L8
arxiv/figures/generate_fig1_architecture.py:8:65: F401 `matplotlib.patches.ConnectionPatch` imported but unused
|
|
Ruff (F401):
arxiv/figures/generate_fig1_architecture.py#L7
arxiv/figures/generate_fig1_architecture.py:7:30: F401 `matplotlib.patches` imported but unused
|
|
Ruff (F401):
arxiv/figures/generate_all_figures.py#L20
arxiv/figures/generate_all_figures.py:20:12: F401 `matplotlib` imported but unused; consider using `importlib.util.find_spec` to test for availability
|