-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
45 lines (38 loc) · 895 Bytes
/
Copy pathpyproject.toml
File metadata and controls
45 lines (38 loc) · 895 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
42
43
44
45
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "deltacore"
version = "0.1.0"
description = "Production-minded Python backend for derivatives pricing, Greeks, volatility calibration, and market-risk analytics."
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"fastapi>=0.111",
"numpy>=1.26",
"pydantic>=2.7",
"scipy>=1.13",
]
[project.optional-dependencies]
dev = [
"httpx>=0.27",
"mypy>=1.10",
"pytest>=8.2",
"ruff>=0.5",
"uvicorn>=0.30",
]
[tool.hatch.build.targets.wheel]
packages = ["src/derivatives_risk_engine"]
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "UP", "B", "C4", "SIM", "RUF"]
[tool.mypy]
python_version = "3.12"
strict = true
warn_unused_configs = true
mypy_path = "src"
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra"