-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
49 lines (42 loc) · 1006 Bytes
/
pyproject.toml
File metadata and controls
49 lines (42 loc) · 1006 Bytes
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
[project]
name = "batesstocks"
version = "1.0.0"
description = "BATESSTOCKS terminal-grade financial analytics platform"
requires-python = ">=3.11"
dependencies = [
"fastapi==0.115.2",
"uvicorn[standard]==0.32.0",
"duckdb>=1.1.0",
"pydantic>=2.10.0",
"httpx>=0.27.0",
"numpy==2.1.2",
"pandas==2.2.3",
"python-dotenv>=1.0.0",
"yfinance>=0.2.50",
]
[dependency-groups]
dev = [
"pre-commit",
"pytest>=8.0",
"pytest-asyncio>=0.24",
"ruff>=0.15.6",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["backend"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP"]
ignore = [
"E501", # line too long — handled by formatter
]
[tool.ruff.lint.per-file-ignores]
# load_dotenv() must run before downstream imports that read env vars
"main.py" = ["E402"]