Files
biz-bud/pyrefly.toml
Travis Vasceannie 3de42db6ea feat: enhance metric tracking and memory management utilities
- Introduced new functions for initializing and updating metrics in the langgraph module.
- Added memory usage and concurrency management functions in async_utils.
- Refactored extractors and orchestrator to utilize new memory management functions for dynamic concurrency scaling.
- Removed deprecated memory management code from extractors and orchestrator.
2025-08-07 23:40:40 -04:00

115 lines
2.1 KiB
TOML

# Pyrefly configuration for monorepo structure
# Include main source directory and tests
project_includes = [
"src",
"tests"
]
# Exclude directories
project_excludes = [
"build/",
"dist/",
".venv/",
"venv/",
".cenv/",
".venv-host/",
"**/__pycache__/",
"**/node_modules/",
"**/htmlcov/",
"**/prof/",
"**/.pytest_cache/",
"**/.mypy_cache/",
"**/.ruff_cache/",
"**/cassettes/",
"**/*.egg-info/",
".archive/",
"**/.archive/",
"cache/",
"examples/**",
".cenv/**",
".venv-host/**",
"**/.venv/**",
"**/venv/**",
"**/site-packages/**",
"**/lib/python*/**",
"**/bin/**",
"**/include/**",
"**/share/**",
".backup/**",
"**/.backup/**"
]
# Search paths for module resolution
search_path = [
"src",
"tests"
]
# Python version
python_version = "3.12.0"
# Libraries to ignore missing imports - only external packages we don't have stubs for
replace_imports_with_any = [
"nltk.*",
"docling.*",
"firecrawl.*",
"zendriver.*",
"graphviz.*",
"voyageai.*",
"beartype.*",
"tokenizers.*",
"rich",
"rich.*",
"selenium",
"selenium.*",
"beautifulsoup4",
"bs4",
"bs4.*",
"lxml",
"lxml.*",
"aiohttp",
"aiohttp.*",
"requests",
"requests.*",
"openai",
"openai.*",
"anthropic",
"anthropic.*",
"r2r",
"r2r.*",
"langchain",
"langchain.*",
"langchain_core",
"langchain_core.*",
"langchain_openai",
"langchain_openai.*",
"langchain_anthropic",
"langchain_anthropic.*",
"langchain_community",
"langchain_community.*",
"langchain_tavily",
"langchain_tavily.*",
"langchain_gigachat.*",
"langchain_nomic.*",
"langchain_huggingface.*",
"langchain_aws.*",
"langchain_voyageai.*",
"langchain_together.*",
"langgraph",
"langgraph.*",
"langgraph_cli.*",
"aider_install.*",
"magicmock.*",
"pytest",
"pytest.*",
"tiktoken.*",
"asyncpg",
"asyncpg.*",
"redis",
"redis.*",
"ragflow_sdk",
"ragflow_sdk.*",
"pydantic.functional_validators.*"
]