89 lines
2.0 KiB
TOML
89 lines
2.0 KiB
TOML
[project]
|
|
name = "tradingagents"
|
|
version = "0.1.0"
|
|
description = "Add your description here"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"akshare>=1.16.98",
|
|
"backtrader>=1.9.78.123",
|
|
"chainlit>=2.5.5",
|
|
"chromadb>=1.0.12",
|
|
"eodhd>=1.0.32",
|
|
"feedparser>=6.0.11",
|
|
"finnhub-python>=2.4.23",
|
|
"langchain-anthropic>=0.3.15",
|
|
"langchain-experimental>=0.3.4",
|
|
"langchain-google-genai>=2.1.5",
|
|
"langchain-openai>=0.3.23",
|
|
"langgraph>=0.4.8",
|
|
"pandas>=2.3.0",
|
|
"parsel>=1.10.0",
|
|
"praw>=7.8.1",
|
|
"pytz>=2025.2",
|
|
"python-dotenv>=1.0.0",
|
|
"questionary>=2.1.0",
|
|
"redis>=6.2.0",
|
|
"requests>=2.32.4",
|
|
"rich>=14.0.0",
|
|
"setuptools>=80.9.0",
|
|
"stockstats>=0.6.5",
|
|
"tqdm>=4.67.1",
|
|
"tushare>=1.4.21",
|
|
"typing-extensions>=4.14.0",
|
|
"yfinance>=0.2.63",
|
|
"pytest>=8.4.1",
|
|
"langchain-deepseek>=0.1.3",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
test = [
|
|
"pytest>=8.0.0",
|
|
"pytest-cov>=5.0.0",
|
|
"pytest-mock>=3.12.0",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py"]
|
|
python_classes = ["Test*"]
|
|
python_functions = ["test_*"]
|
|
addopts = [
|
|
"-v",
|
|
"--tb=short",
|
|
"--strict-markers",
|
|
"--disable-warnings",
|
|
]
|
|
markers = [
|
|
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
|
|
"integration: marks tests as integration tests",
|
|
"unit: marks tests as unit tests",
|
|
"openai: marks tests that require OpenAI API",
|
|
"gemini: marks tests that require Google API",
|
|
"finnhub: marks tests that require FinnHub API",
|
|
]
|
|
|
|
[tool.coverage.run]
|
|
source = ["tradingagents"]
|
|
omit = [
|
|
"*/tests/*",
|
|
"*/test_*",
|
|
"*/__pycache__/*",
|
|
"*/venv/*",
|
|
"*/env/*",
|
|
]
|
|
|
|
[tool.coverage.report]
|
|
exclude_lines = [
|
|
"pragma: no cover",
|
|
"def __repr__",
|
|
"if self.debug:",
|
|
"if settings.DEBUG",
|
|
"raise AssertionError",
|
|
"raise NotImplementedError",
|
|
"if 0:",
|
|
"if __name__ == .__main__.:",
|
|
"class .*\\bProtocol\\):",
|
|
"@(abc\\.)?abstractmethod",
|
|
]
|