-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
48 lines (41 loc) · 1.09 KB
/
Copy pathpyproject.toml
File metadata and controls
48 lines (41 loc) · 1.09 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "us-sector-strategy"
version = "0.1.0"
description = "Predict Japan sector ETF open-to-close returns from US sector ETF prior-day returns"
requires-python = ">=3.9"
dependencies = [
"yfinance>=0.2.18",
"pandas>=2.1,<3", # 2.1+ has py3.12 wheels; 2.0.x sdist fails on 3.12 (pkg_resources)
"numpy>=1.24,<2.0", # keep 1.x until stack is validated on numpy 2
"scipy>=1.9,<1.12",
"scikit-learn>=1.1,<1.4",
"pyarrow>=10", # parquet I/O
"matplotlib>=3.7,<3.8", # 3.8+ dropped Python 3.8
"seaborn>=0.12",
"jupyterlab>=3.5",
"tqdm>=4.64",
"python-dotenv>=0.21",
]
[project.optional-dependencies]
dev = [
"pytest>=7",
"pytest-cov>=4",
"ruff>=0.3",
"mypy>=1.5",
]
[tool.hatch.build.targets.wheel]
packages = ["src/us_sector_strategy"]
[tool.ruff]
line-length = 100
src = ["src"]
[tool.ruff.lint]
select = ["E", "F", "I"]
[tool.mypy]
python_version = "3.11"
strict = false
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]