refactor: Extract query classifier from chat_router.py (Step 4) #847
lint.yml
on: push
Lint with Ruff
55s
Type Check (Optional)
2m 41s
Annotations
10 errors
|
Ruff (E402):
backend/api/main.py#L143
backend/api/main.py:143:1: E402 Module level import not at top of file
|
|
Ruff (E402):
backend/api/main.py#L139
backend/api/main.py:139:1: E402 Module level import not at top of file
|
|
Ruff (E402):
backend/api/main.py#L135
backend/api/main.py:135:1: E402 Module level import not at top of file
|
|
Ruff (F401):
backend/api/job_queue.py#L6
backend/api/job_queue.py:6:8: F401 `asyncio` imported but unused
|
|
Ruff (F541):
backend/api/handlers/query_classifier.py#L298
backend/api/handlers/query_classifier.py:298:25: F541 f-string without any placeholders
|
|
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
|