-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
49 lines (42 loc) · 1.01 KB
/
Copy pathpyproject.toml
File metadata and controls
49 lines (42 loc) · 1.01 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
[build-system]
requires = ["setuptools>=45", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[project]
name = "pybacktest"
version = "0.2.0"
description = "A deterministic, extensible Python backtesting engine"
readme = "README.md"
requires-python = ">=3.11"
license = {text = "MIT"}
authors = [{name = "sciencemj", email = "sciencemj.park@gmail.com"}]
dependencies = [
"numpy>=2.0",
]
[project.optional-dependencies]
data = ["pandas>=2.2"]
parquet = ["pandas>=2.2", "pyarrow>=17"]
yfinance = ["yfinance>=0.2"]
plot = ["matplotlib>=3.9"]
[dependency-groups]
dev = [
"hypothesis",
"pandas>=2.2",
"pyarrow>=17",
"pytest>=8",
"pytest-benchmark",
"ruff",
"ty",
]
[tool.pytest.ini_options]
pythonpath = [".", "src"]
testpaths = ["tests"]
markers = [
"performance: measured runtime and peak-RSS gate; run it explicitly",
]
[tool.ruff]
target-version = "py311"
line-length = 88
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "SIM", "RUF"]