38 lines
813 B
INI
38 lines
813 B
INI
[mypy]
|
|
python_version = 3.12
|
|
warn_return_any = True
|
|
warn_unused_configs = True
|
|
disallow_untyped_defs = False
|
|
disallow_any_generics = False
|
|
ignore_missing_imports = True
|
|
no_implicit_optional = True
|
|
warn_redundant_casts = True
|
|
warn_unused_ignores = True
|
|
warn_no_return = True
|
|
warn_unreachable = True
|
|
strict_equality = True
|
|
|
|
# Directories to check
|
|
files = tradingagents/, cli/
|
|
|
|
# Exclude virtual environment and cache directories
|
|
exclude = venv/|\.venv/|__pycache__/|\.mypy_cache/
|
|
|
|
# Per-module options for third-party libraries
|
|
[mypy-langchain.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-langgraph.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-pandas.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-yfinance.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-praw.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-finnhub.*]
|
|
ignore_missing_imports = True |