-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
56 lines (46 loc) · 1.32 KB
/
Copy pathpyproject.toml
File metadata and controls
56 lines (46 loc) · 1.32 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "rebalance"
version = "0.5.1"
description = "A calculator which tells you how to split your investment amongst your portfolio's assets based on your target asset allocation."
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.11"
authors = [{ name = "Karl Lundgren", email = "k.github@lundgrens.net" }]
dependencies = [
"apprise==1.11.0",
"numpy==2.5.0",
"requests==2.34.2",
"cvxpy==1.9.2",
"yfinance==1.4.1",
"pydantic==2.13.4",
"rich==15.0.0",
"tenacity==9.1.4",
"loguru==0.7.3",
]
[project.urls]
Homepage = "https://github.com/kallegrens/rebalance"
[project.scripts]
rebalance = "rebalance.__main__:main"
rebalance-monitor = "rebalance.monitor:main"
[dependency-groups]
dev = ["pytest==9.1.1", "pytest-cov==7.1.0", "ruff==0.15.19", "ty==0.0.53"]
[tool.ruff]
line-length = 88
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP"]
ignore = ["E501"]
[tool.ty.analysis]
allowed-unresolved-imports = ["cvxpy", "yfinance"]
[tool.pytest.ini_options]
testpaths = ["rebalance/tests"]
markers = [
"integration: requires live network access (deselect with -m 'not integration')",
]
[tool.coverage.run]
source = ["rebalance"]
omit = ["rebalance/tests/*"]
[tool.coverage.report]
show_missing = true