You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore(lint): E402 module-level import not at top in three knowledge test files #20985
Ruff reports 6 E402 (module-level import not at top of file) errors in three knowledge test files. They were found during #20967 and are not caused by it.
Verified on main (git show origin/main:<path>, ruff check --select E402 --no-cache): 6 errors
code_indexer_test.py places a try/except import (tree_sitter_python) and a pytest.mark.skipif assignment before the from services.knowledge.code_indexer import ... line. The other two files have the same pattern.
Acceptance criteria
The three files pass ruff check --select E402 with no per-file ignore
The imports are fixed at their root (the code before the import is moved or restructured), not suppressed with noqa
Maintainer decision: this issue belongs under the KB retrieval umbrella #20948 (now a native sub-issue). It will be fixed in the next PR that touches these knowledge test files.
Activity
mrveiss commentedon Nov 7, 2026
Maintainer decision: this issue belongs under the KB retrieval umbrella #20948 (now a native sub-issue). It will be fixed in the next PR that touches these knowledge test files.