Skip to content

Commit 575dc61

Browse files
committed
docs
1 parent bf5408d commit 575dc61

File tree

7 files changed

+4138
-3569
lines changed

7 files changed

+4138
-3569
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ sphinx-config: ## Build sphinx config
4646

4747

4848
.PHONY: sphinx
49-
sphinx:
49+
sphinx: ## Build sphinx docs
5050
poetry run sphinx-build notebooks path/to/book/_build/html -b html
5151

5252

dev/lint

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,16 @@ set -e
44
ISORT_ARGS="-c"
55
BLACK_ARG="--check"
66
RUFF_ARG=""
7+
TAPLO_ARG="format --check"
78

89
if [ "$1" = "fix" ] ; then
910
ISORT_ARGS=""
1011
BLACK_ARG=""
1112
RUFF_ARG="--fix"
13+
TAPLO_ARG="format"
1214
fi
1315

16+
taplo ${TAPLO_ARG}
1417
echo isort
1518
isort quantflow quantflow_tests ${ISORT_ARGS}
1619
echo black

poetry.lock

Lines changed: 1349 additions & 1312 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "quantflow"
33
version = "0.4.3"
44
description = "quantitative analysis"
5-
authors = [{ name = "Luca Sbardella", email = "luca@quantmind.com" }]
5+
authors = [ { name = "Luca Sbardella", email = "luca@quantmind.com" } ]
66
license = "BSD-3-Clause"
77
readme = "readme.md"
88
requires-python = ">=3.11,<4.0"
@@ -20,7 +20,7 @@ Repository = "https://github.com/quantmind/quantflow"
2020
Documentation = "https://quantmind.github.io/quantflow/"
2121

2222
[project.optional-dependencies]
23-
data = ["aio-fluid[http]>=1.2.1"]
23+
data = [ "aio-fluid[http]>=1.2.1" ]
2424
cli = [
2525
"asciichartpy>=1.5.25",
2626
"async-cache>=1.1.1",
@@ -33,49 +33,47 @@ cli = [
3333
[project.scripts]
3434
qf = "quantflow.cli.script:main"
3535

36-
3736
[tool.poetry.group.dev.dependencies]
38-
black = "^25.1.0"
39-
pytest-cov = "^6.0.0"
40-
mypy = "^1.14.1"
37+
black = "^26.1.0"
4138
ghp-import = "^2.0.2"
42-
ruff = "^0.12.2"
43-
pytest-asyncio = "^1.0.0"
4439
isort = "^6.0.1"
40+
mypy = "^1.14.1"
41+
pytest-asyncio = "^1.0.0"
42+
pytest-cov = "^7.0.0"
43+
ruff = "^0.14.14"
4544
types-python-dateutil = "^2.9.0.20251115"
4645

4746
[tool.poetry.group.book]
4847
optional = true
4948

5049
[tool.poetry.group.book.dependencies]
50+
autodocsumm = "^0.2.14"
51+
ipywidgets = "^8.0.7"
5152
jupyter-book = "^1.0.0"
53+
jupyterlab = "^4.0.2"
5254
jupytext = "^1.13.8"
5355
plotly = "^6.2.0"
54-
jupyterlab = "^4.0.2"
55-
sympy = "^1.12"
56-
ipywidgets = "^8.0.7"
5756
sphinx-autodoc-typehints = "2.3.0"
5857
sphinx-autosummary-accessors = "^2023.4.0"
5958
sphinx-copybutton = "^0.5.2"
60-
autodocsumm = "^0.2.14"
61-
59+
sympy = "^1.12"
6260

6361
[build-system]
64-
requires = ["poetry-core>=1.0.0"]
62+
requires = [ "poetry-core>=1.0.0" ]
6563
build-backend = "poetry.core.masonry.api"
6664

6765
[tool.jupytext]
6866
formats = "ipynb,myst"
6967

7068
[tool.pytest.ini_options]
7169
asyncio_mode = "auto"
72-
testpaths = ["quantflow_tests"]
70+
testpaths = [ "quantflow_tests" ]
7371

7472
[tool.isort]
7573
profile = "black"
7674

7775
[tool.ruff]
78-
lint.select = ["E", "F"]
76+
lint.select = [ "E", "F" ]
7977
line-length = 88
8078

8179
[tool.hatch.version]

quantflow/data/deribit.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
import enum
24
from dataclasses import dataclass
35
from datetime import datetime, timezone

0 commit comments

Comments
 (0)