-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (71 loc) · 1.84 KB
/
pyproject.toml
File metadata and controls
83 lines (71 loc) · 1.84 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "basanos"
version = "0.6.4"
description = "Correlation-aware portfolio optimization and analytics for Python."
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"jinja2>=3.1",
"jquantstats>=0.2.0",
"numpy>=2.4",
"plotly>=6.6.0",
"polars>=1.37.1",
"pydantic>=2.12.5",
"scipy>=1.17.0",
]
license = "MIT"
license-files = ["LICENSE"]
[project.urls]
Homepage = "https://github.com/Jebel-Quant/basanos"
Repository = "https://github.com/Jebel-Quant/basanos"
Issues = "https://github.com/Jebel-Quant/basanos/issues"
[dependency-groups]
dev = [
"marimo>=0.21.0",
"pandas>=2.0",
"pyarrow>=14.0"
]
[tool.hatch.build.targets.wheel]
packages = ["src/basanos"]
[tool.deptry]
# Explicit module name map so deptry doesn't need to inspect installed packages
[tool.deptry.package_module_name_map]
"jinja2" = "jinja2"
"jquantstats" = "jquantstats"
"numpy" = "numpy"
"plotly" = "plotly"
"polars" = "polars"
"pydantic" = "pydantic"
"scipy" = "scipy"
"marimo" = "marimo"
"pandas" = "pandas"
"pyarrow" = "pyarrow"
[tool.coverage.report]
fail_under = 90
exclude_also = [
# TYPE_CHECKING blocks are never executed at runtime
"if TYPE_CHECKING:",
# Protocol bodies are structural type stubs, not runnable code
"class .*\\(Protocol\\):",
"\\.\\.\\.\\s*$",
]
[tool.coverage.run]
omit = [
# Pure type-stubs file; only imported under TYPE_CHECKING
"src/basanos/math/_engine_protocol.py",
]
[tool.interrogate]
fail-under = 100
ignore-init-method = true
ignore-magic = true
exclude = ["book"]
[tool.ty.environment]
python-version = "3.12"
[tool.ty.rules]
# Catch calls where argument types do not match the declared parameter types.
call-non-callable = "error"
# Catch overload resolution failures.
no-matching-overload = "error"