-
Notifications
You must be signed in to change notification settings - Fork 15
/
pyproject.toml
93 lines (80 loc) · 1.55 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
[build-system]
requires = ["hatchling>=1.8.0", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "NeuralProcesses"
description = "A framework for composing Neural Processes in Python"
authors = [
{name="Wessel Bruinsma", email="wessel.p.bruinsma@gmail.com"},
]
license = {text="MIT"}
readme = "README.md"
dynamic = ["version"]
requires-python = ">=3.8"
dependencies = [
"numpy>=1.16",
"backends>=1.6.2",
"backends-matrix>=1.2.10",
"plum-dispatch>=2.3.0",
"stheno>=1.4.2",
"wbml>=0.3.18",
]
[project.optional-dependencies]
dev = [
"numpy",
"pytest>=6",
"pytest-cov",
"coveralls",
"pre-commit",
"IPython",
"black==23.7.0",
"ghp-import",
"wheel",
"build",
"tox",
"jupyter-book",
"mypy",
"pyright",
"torch",
"tensorflow",
"tensorflow-probability[tf]",
]
[project.urls]
repository = "https://github.com/wesselb/neuralprocesses"
[tool.hatch.build]
include = ["neuralprocesses*"]
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "neuralprocesses/_version.py"
# Tests:
[tool.coverage.run]
branch = true
command_line = "-m pytest --verbose test"
source = ["neuralprocesses"]
[tool.pytest.ini_options]
testpaths = [
"tests",
]
# Formatting tools:
[tool.black]
line-length = 88
target-version = ["py38", "py39"]
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
profile = "black"
src_paths = ["neuralprocesses", "tests"]