-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
112 lines (105 loc) · 2.31 KB
/
pyproject.toml
File metadata and controls
112 lines (105 loc) · 2.31 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "quantammsim"
version = "0.0.0"
description = "QuantAMM Simulator"
requires-python = ">=3.9"
dependencies = [
"jax>=0.4.27",
"jaxlib",
"numpy>=1.21.0",
"pandas>=1.3.6",
"flask",
"flask-jwt-extended",
"scipy",
"seaborn",
"cvxpy",
"matplotlib",
"tqdm",
"optuna",
"pyarrow",
"plotly",
"dask",
"Historic-Crypto",
"bidask",
"optax",
"jsonpickle",
"flask_cors",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"pytest-xdist>=3.0",
"pytest-timeout>=2.0",
"black",
"flake8",
"hypothesis",
]
docs = [
"sphinx",
"sphinx-automodapi",
"sphinx-rtd-theme",
]
[tool.hatch.build.targets.wheel]
packages = [
"quantammsim",
"quantammsim.core_simulator",
"quantammsim.pools",
"quantammsim.pools.FM_AMM",
"quantammsim.pools.G3M",
"quantammsim.runners",
]
[tool.hatch.build]
include = [
"quantammsim/**/*.py",
"quantammsim/**/*.json",
"quantammsim/**/*.txt",
]
exclude = [
"quantammsim/**/*_test.py",
"quantammsim/**/tests/*",
]
[tool.pytest.ini_options]
minversion = "7.0"
addopts = [
"-ra",
"-v",
"--strict-markers",
"--tb=short",
]
testpaths = ["tests"]
norecursedirs = ["tests/scripts", "tests/__pycache__", ".git", "*.egg-info", ".hypothesis"]
python_files = ["test_*.py", "*_test.py"]
python_classes = ["Test*"]
python_functions = ["test_*", "test*"]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests",
"unit: marks tests as unit tests",
"training: marks tests that involve model training",
"requires_data: marks tests that require external data files",
]
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::PendingDeprecationWarning",
"ignore:Argument ``multivariate``:optuna.exceptions.ExperimentalWarning",
"ignore:The balance properties of Sobol:UserWarning",
"ignore::FutureWarning:dask",
]
[tool.coverage.run]
source = ["quantammsim"]
branch = true
omit = [
"*/tests/*",
"*/__pycache__/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise NotImplementedError",
"if __name__ == .__main__.:",
]