LightRAG/ty.toml
clssck 59e89772de refactor: consolidate to PostgreSQL-only backend and modernize stack
Remove legacy storage implementations and deprecated examples:
- Delete FAISS, JSON, Memgraph, Milvus, MongoDB, Nano Vector DB, Neo4j, NetworkX, Qdrant, Redis storage backends
- Remove Kubernetes deployment manifests and installation scripts
- Delete unofficial examples for deprecated backends and offline deployment docs
Streamline core infrastructure:
- Consolidate storage layer to PostgreSQL-only implementation
- Add full-text search caching with FTS cache module
- Implement metrics collection and monitoring pipeline
- Add explain and metrics API routes
Modernize frontend and tooling:
- Switch web UI to Bun with bun.lock, remove npm and pnpm lockfiles
- Update Dockerfile for PostgreSQL-only deployment
- Add Makefile for common development tasks
- Update environment and configuration examples
Enhance evaluation and testing capabilities:
- Add prompt optimization with DSPy and auto-tuning
- Implement ground truth regeneration and variant testing
- Add prompt debugging and response comparison utilities
- Expand test coverage with new integration scenarios
Simplify dependencies and configuration:
- Remove offline-specific requirement files
- Update pyproject.toml with streamlined dependencies
- Add Python version pinning with .python-version
- Create project guidelines in CLAUDE.md and AGENTS.md
2025-12-12 16:28:49 +01:00

25 lines
1.1 KiB
TOML

# ty type checker configuration
# https://docs.astral.sh/ty/configuration/
[environment]
python-version = "3.13"
[src]
# Only exclude files that genuinely can't be type-checked (missing external deps)
exclude = [
"reproduce/**",
"lightrag/tools/lightrag_visualizer/**", # imgui_bundle, moderngl not installed
"**/graph_visual_with_html.py", # pyvis not installed
"**/modalprocessors_example.py", # raganything not installed
"**/raganything_example.py", # raganything not installed
"**/rerank_example.py", # references non-existent cohere_rerank
"**/lightrag_azure_openai_demo.py", # example file
"lightrag/evaluation/**", # ragas optional dep
"tests/test_prompt_*.py", # heavy mocking
]
[rules]
# Only ignore things that are genuinely unfixable patterns
unresolved-import = "ignore" # Optional deps not installed
conflicting-declarations = "ignore" # try/except ImportError pattern
redundant-cast = "ignore" # Intentional casts for clarity