-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (82 loc) · 2.97 KB
/
Copy pathpyproject.toml
File metadata and controls
92 lines (82 loc) · 2.97 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
[tool.poetry]
name = "markovflow"
version = "0.1.0"
description = "A Tensorflow based library for Time Series Modelling with Gaussian Processes"
authors = ["Markovflow Contributors <markovflow@secondmind.ai>"]
packages = [{include = "markovflow"}]
# Note: Poetry will exclude files declared in .gitignore when creating the python package file.
[tool.poetry.dependencies]
python = ">=3.10,<3.13"
banded-matrices = {version = "0.2.1", source = "testpypi"}
gpflow = ">=2.5,<2.6"
numpy = ">=1.26,<2.0"
scipy = ">=1.11,<2.0"
setuptools = ">=68,<81"
tensorflow = ">=2.16,<2.22"
tensorflow-probability = {version = ">=0.24,<0.26", extras = ["tf"]}
[tool.poetry.group.dev.dependencies]
mypy = "^1.15.0"
pylint = "^3.3.0"
pytest = "^8.3.0"
pytest-cov = "^6.0.0"
pytest-mypy = "^1.0.1"
pytest-pylint = "^0.21.0"
taskipy = "^1.14.0"
pytest-black = "^0.6.0"
black = "^25.1.0"
pytest-isort = "^4.0.0"
jupytext = "^1.16.0"
jupyter = "^1.1.0"
sphinx = "^8.0.0"
ipython = "^8.30.0"
pandoc = "^2.4.0"
nbsphinx = "^0.9.0"
sphinx-rtd-theme = "^3.0.0"
pydata-sphinx-theme = "^0.16.0"
sphinx-autodoc-typehints = "^3.0.0"
matplotlib = "^3.9.0"
pytest-timeout = "^2.3.0"
wheel = "^0.46.0"
[tool.taskipy.tasks]
lint = "pytest --pylint --cache-clear -m pylint -v && pytest --pylint --cache-clear -m pylint --pylint-rcfile=extrapylint markovflow"
mypy = "pytest --mypy --cache-clear -m mypy -v"
quicktest = "pytest -x --ff -rN -Wignore -m 'not notebooks' tests"
notebooktest = "pytest -x -rN -Wignore -m notebooks tests/integration/end_to_end/test_notebooks.py"
test = "pytest --pylint --mypy --black --isort --cache-clear -ra -v --cov markovflow --cov-report term --cov-report html:cover_html --junitxml=reports/junit.xml -o junit_family=xunit2 tests && pytest --pylint --cache-clear -m pylint --pylint-rcfile=extrapylint markovflow tests"
black = "black ."
isort = "isort --atomic -y"
format = "task isort && task black"
check_format = "pytest -v --cache-clear --black --isort -m black,isort"
licence_check = "pio-licence-checker markovflow"
regen_requirements = "poetry export --dev --without-hashes -f requirements.txt > requirements.txt"
regen_setup_py = "poetry build -f sdist && tar -xvf dist/markovflow-*.tar.gz --wildcards markovflow-*/setup.py && cp markovflow-*/setup.py ."
regen_all = "task regen_requirements && task regen_setup_py"
docsgen = "cd docs && make html"
docsserve = "cd docs && python -m http.server"
docsview = "xdg-open http://localhost:8000/_build/html/"
[tool.black]
line-length = 100
target-version = ['py310']
exclude = 'docs|setup.py'
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
line_length = 100
skip = 'docs'
[tool.pytest.ini_options]
markers = [
"notebooks: execute documentation notebooks as smoke tests",
]
[tool.pio-licence-checker]
additional_licences = [
]
approved_libraries = [
"utilities"
]
[[tool.poetry.source]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
priority = "supplemental"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"