Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
70 lines (60 loc) · 1.53 KB
/
Copy pathpyproject.toml
File metadata and controls
70 lines (60 loc) · 1.53 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
59
60
61
62
63
64
65
66
67
68
69
70
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "goldsentinel"
version = "0.1.0"
description = "Research pipeline studying public attention/sentiment around gold vs. gold-market behavior. Research and paper-trading only — no live trading, no broker integration."
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
authors = [{ name = "GoldSentinel Research" }]
dependencies = [
"duckdb>=1.0.0",
"pydantic>=2.6",
"pydantic-settings>=2.2",
"polars>=1.0.0",
"httpx>=0.27",
"typer>=0.12",
"python-dotenv>=1.0",
"feedparser>=6.0",
"numpy>=1.26",
"PyYAML>=6.0",
"rich>=13.7",
"pytz>=2024.1",
"pyarrow>=16.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-cov>=5.0",
"ruff>=0.5",
"mypy>=1.10",
]
# Optional, isolated live-data providers for development use. The base
# install (and fixture mode) never requires any of these.
providers = [
"pytrends>=4.9",
"yfinance>=0.2",
]
[project.scripts]
goldsentinel = "goldsentinel.cli:app"
[tool.hatch.build.targets.wheel]
packages = ["src/goldsentinel"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra"
[tool.ruff]
line-length = 100
target-version = "py311"
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "C4"]
ignore = ["E501"]
[tool.ruff.lint.isort]
known-first-party = ["goldsentinel"]
[tool.mypy]
python_version = "3.12"
ignore_missing_imports = true
disallow_untyped_defs = false
warn_unused_ignores = true