-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
63 lines (57 loc) · 1.41 KB
/
pyproject.toml
File metadata and controls
63 lines (57 loc) · 1.41 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
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "flashalpha-examples"
version = "1.0.0rc1"
description = "FlashAlpha cookbook — Python recipes for gamma exposure, dealer positioning, vol surfaces, 0DTE, and backtesting."
requires-python = ">=3.10"
dependencies = [
"flashalpha>=1.0.1",
"matplotlib",
"numpy",
"pydantic>=2.6",
"PyYAML>=6.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4",
"papermill>=2.5",
"nbformat>=5.10",
"vcrpy>=6.0",
"jupytext>=1.16",
"nbqa>=1.7",
"ruff>=0.4",
"pre-commit>=3.6",
"yarl>=1.9",
"ImageHash>=4.3",
"requests>=2.31",
"pytest-cov>=4.1",
"hypothesis>=6.100",
]
[tool.setuptools.packages.find]
include = ["cookbook_tools*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"integration: tests that call the live FlashAlpha API (require FLASHALPHA_API_KEY)",
"cassette: tests that replay vcrpy cassettes (no API key)",
"network: tests that require live network access",
]
[tool.coverage.run]
source = ["cookbook_tools", "scripts"]
omit = [
"tests/*",
"scripts/record_cassettes.py",
"scripts/sync_tier_map.py",
"scripts/new_recipe.py",
]
[tool.coverage.report]
show_missing = true
skip_covered = false
fail_under = 85
exclude_lines = [
"pragma: no cover",
"raise NotImplementedError",
"if __name__ == \"__main__\":",
]