Files
agent/app/modules/rag/intent_router_v2/symbol_rules.py

52 lines
647 B
Python

from __future__ import annotations
PY_KEYWORDS: set[str] = {
"and",
"as",
"assert",
"async",
"await",
"break",
"class",
"continue",
"def",
"del",
"elif",
"else",
"except",
"false",
"finally",
"for",
"from",
"global",
"if",
"import",
"in",
"is",
"lambda",
"none",
"nonlocal",
"not",
"or",
"pass",
"raise",
"return",
"true",
"try",
"while",
"with",
"yield",
}
COMMON_PATH_SEGMENTS: set[str] = {
"app",
"src",
"docs",
"tests",
"module",
"modules",
"core",
"pkg",
"lib",
}