-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
94 lines (78 loc) · 2 KB
/
pyproject.toml
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
[tool.poetry]
name = "quantflow"
version = "0.3.0"
description = "quantitative analysis"
authors = ["Luca <[email protected]>"]
license = "BSD-3-Clause"
readme = "readme.md"
[tool.poetry.urls]
Homepage = "https://github.com/quantmind/quantflow"
Repository = "https://github.com/quantmind/quantflow"
Documentation = "https://quantmind.github.io/quantflow/"
[tool.poetry.dependencies]
python = ">=3.11"
scipy = "^1.14.1"
pydantic = "^2.0.2"
ccy = {version="1.6.0"}
python-dotenv = "^1.0.1"
polars = {version = "^1.11.0", extras=["pandas", "pyarrow"]}
asciichartpy = { version = "^1.5.25", optional = true }
prompt-toolkit = { version = "^3.0.43", optional = true }
aio-fluid = {version = "^1.2.1", extras=["http"], optional = true}
rich = {version = "^13.9.4", optional = true}
click = {version = "^8.1.7", optional = true}
[tool.poetry.group.dev.dependencies]
black = "^24.1.1"
pytest-cov = "^6.0.0"
mypy = "^1.13.0"
ghp-import = "^2.0.2"
ruff = "^0.8.1"
pytest-asyncio = "^0.25.0"
isort = "^5.13.2"
[tool.poetry.extras]
data = ["aio-fluid"]
cli = ["asciichartpy", "prompt-toolkit", "rich", "click"]
[tool.poetry.group.book]
optional = true
[tool.poetry.group.book.dependencies]
jupyter-book = "^1.0.0"
jupytext = "^1.13.8"
plotly = "^5.20.0"
jupyterlab = "^4.0.2"
sympy = "^1.12"
ipywidgets = "^8.0.7"
[tool.poetry.scripts]
qf = "quantflow.cli.script:main"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.jupytext]
formats = "ipynb,myst"
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = [
"quantflow_tests"
]
[tool.isort]
profile = "black"
[tool.ruff]
lint.select = ["E", "F"]
line-length = 88
[tool.hatch.version]
path = "quantflow/__init__.py"
[tool.mypy]
# strict = true
disallow_untyped_calls = true
disallow_untyped_defs = true
warn_no_return = true
[[tool.mypy.overrides]]
module = [
"asciichartpy.*",
"quantflow_tests.*",
"IPython.*",
"pandas.*",
"plotly.*",
"scipy.*"
]
ignore_missing_imports = true
disallow_untyped_defs = false