Skip to content

Commit 9f16d18

Browse files
cdeustclaude
andcommitted
style: ruff format on ingest_codebase_cypher.py
Post-v3.14.9 lint fix — ruff format collapsed a multi-line boolean that fit on one line. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 0cbbc54 commit 9f16d18

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

mcp_server/handlers/ingest_codebase_cypher.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,7 @@ def file_path_from_qn(qn: str) -> list[str]:
8181
head = qn.split("::", 1)[0]
8282
head_is_path = bool(head) and ("/" in head or head.endswith(code_exts))
8383
head_is_dotted_module = (
84-
bool(head)
85-
and "." in head
86-
and "/" not in head
87-
and not head.endswith(code_exts)
84+
bool(head) and "." in head and "/" not in head and not head.endswith(code_exts)
8885
)
8986

9087
# (1) head already looks like a file path — trust it as-is.

0 commit comments

Comments
 (0)