-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
41 lines (36 loc) · 927 Bytes
/
Copy pathpyproject.toml
File metadata and controls
41 lines (36 loc) · 927 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "smaetf"
version = "0.1.0"
description = "SMA + 杠杆 ETF 轮动策略回测框架"
requires-python = ">=3.11"
dependencies = [
"pandas>=2.0",
"numpy>=1.24",
"yfinance>=0.2.30",
"plotly>=5.15",
"matplotlib>=3.5",
"rich>=13.0",
"typer>=0.9",
"pyyaml>=6.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
]
[project.scripts]
smaetf = "smaetf.cli:app"
[tool.hatch.build.targets.wheel]
packages = ["src/smaetf"]
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"unit: 单元测试,每个步骤完成后运行",
"integration: 集成验证,每个 Phase 结束后运行",
"golden: Golden File 回归测试,Phase 6 后建立基线",
"property: 属性测试,Phase 4 后加入",
"extreme: 极端输入测试,Phase 4 后加入",
]