-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (67 loc) · 1.46 KB
/
Copy pathpyproject.toml
File metadata and controls
78 lines (67 loc) · 1.46 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "quant-strategy-tokenizer"
version = "0.1.0"
description = "Decompose quant trading strategies into reusable computation tokens"
readme = "README.md"
license = "MIT"
requires-python = ">=3.11"
authors = [{name = "Austin"}]
dependencies = [
"pydantic>=2.5",
"pyyaml>=6.0",
"numpy>=1.24",
"pandas>=2.0",
"packaging>=23",
"typer>=0.9",
]
[project.optional-dependencies]
parquet = ["pyarrow>=14"]
pandas = ["pandas>=2"]
dev = [
"pytest>=7.4",
"pytest-cov>=4.1",
"hypothesis>=6.90",
"jsonschema>=4",
"pyarrow>=14",
"mypy>=1.7",
"ruff>=0.1",
]
[project.scripts]
qst = "qst.cli:app"
[tool.hatch.build.targets.wheel]
packages = ["qst"]
[tool.hatch.build]
include = [
"qst/**/*.py",
"qst/**/*.json",
"qst/**/*.yaml",
"qst/py.typed",
]
[tool.mypy]
strict = true
python_version = "3.11"
files = ["qst", "tests"]
ignore_missing_imports = true
warn_unused_ignores = false
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "B", "A", "S", "PYI", "RUF", "UP"]
ignore = ["A002", "E501", "S101", "S105", "S603", "S607"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S"]
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"golden: token behavior_contract tests",
"e2e: end-to-end pipeline tests",
]
[tool.coverage.run]
source = ["qst"]
omit = [
"qst/cli.py",
]