-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (52 loc) · 1.35 KB
/
pyproject.toml
File metadata and controls
62 lines (52 loc) · 1.35 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
[project]
name = "btlight"
version = "0.1.0"
description = "Light Weight Experimental Backtest Package."
requires-python = ">=3.9"
dependencies = [
"black>=25.11.0",
"cvxpy>=1.7.5",
"deptry>=0.23.1",
"empyrical-reloaded>=0.5.12",
"flake8>=7.3.0",
"import-linter>=2.5.2",
"ipykernel>=6.31.0",
"jupyter>=1.1.1",
"matplotlib>=3.9.4",
"numpy>=2.0.2",
"pandas>=2.3.3",
"pyarrow>=21.0.0",
"pylint>=3.3.9",
"pytest>=8.4.2",
"pytz>=2025.2",
"pyyaml>=6.0.3",
"qpsolvers[cvxopt]>=4.8.2",
"quantstats>=0.0.77",
"scikit-learn>=1.6.1",
"shap>=0.49.1",
"tqdm>=4.67.1",
"xgboost>=2.1.4",
]
[build-system]
requires = ["setuptools>=61.0","wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.black]
line-length = 100
target-version = ["py310"]
exclude = '\.venv/|build/|dist/|\.git/'
[tool.deptry]
ignore = ["DEP002"]
# this avoids the problem of backtest_light being
# a transitive dependency
known_first_party = ["btlight"]
# package_module_name_map avoids deptry's "assuming the corresponding
# module name" messages for tools like black and pytest.
package_module_name_map = { black = "black", pytest = "pytest" }
# overkill - but for those that
# run VSCODE with flake8
[tool.flake8]
max-line-length = 100