-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (50 loc) · 1.37 KB
/
pyproject.toml
File metadata and controls
58 lines (50 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "financial-agent"
version = "0.1.0"
description = "AI-powered stock and cryptocurrency portfolio analyzer and trading agent"
requires-python = ">=3.11"
dependencies = [
"alpaca-py>=0.21.0",
"anthropic>=0.40.0",
"pandas>=2.1.0",
"numpy>=1.26.0",
"pytz>=2024.1",
"ta>=0.11.0",
"pydantic>=2.5.0",
"pydantic-settings>=2.1.0",
"structlog>=24.1.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
"pytest-asyncio>=0.23.0",
"ruff>=0.5.0",
"mypy>=1.8.0",
"pandas-stubs>=2.1.0",
]
[project.scripts]
financial-agent = "financial_agent.main:main"
financial-agent-review = "financial_agent.review_main:main"
financial-agent-watchlist = "financial_agent.watchlist_main:main"
financial-agent-screener = "financial_agent.screener_main:main"
financial-agent-performance = "financial_agent.performance_main:main"
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP", "S", "B", "A", "C4", "SIM", "TCH"]
ignore = ["S101"] # Allow assert in tests
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S"]
[tool.mypy]
python_version = "3.11"
strict = true
warn_return_any = true
warn_unused_configs = true
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"