-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
82 lines (69 loc) · 1.71 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
[tool.poetry]
name = "jnotype"
version = "0.1.0"
description = "Jnotype: probabilistic modeling of high-dimensional binary data."
authors = ["Paweł Czyż"]
readme = "README.md"
packages = [{include = "jnotype", from = "src"}]
[tool.poetry.dependencies]
python = "^3.9,<3.13"
numpy = "^1.24.2"
jaxtyping = "^0.2.14"
jax = "^0.4.6"
jaxlib = "^0.4.6"
matplotlib = "^3.7.1"
polyagamma = "^1.3.5"
arviz = "^0.15.1"
xarray = "^2023.3.0"
tqdm = "^4.65.0"
numpyro = "^0.15.3"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
interrogate = "^1.5.0"
ruff = "^0.0.253"
pytest = "^7.2.1"
pytest-cov = "^4.0.0"
pytest-xdist = "^3.2.0"
pre-commit = "^3.1.0"
pyright = "^1.1.296"
seaborn = "^0.12.2"
matplotlib = "^3.7.1"
scipy = "^1.11.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.coverage.report]
fail_under = 85.0
[tool.ruff]
# See https://github.com/google/jaxtyping/blob/main/FAQ.md
# to see why we disabled F722 (or when you see F821)
ignore = ["F722"]
[tool.interrogate]
ignore-init-method = true
ignore-init-module = false
ignore-magic = false
ignore-semiprivate = true
ignore-private = true
ignore-property-decorators = false
ignore-module = false
fail-under = 95
exclude = ["setup.py", "docs", "build", "private", "tests"]
ignore-regex = ["^get$", "^mock_.*", ".*BaseClass.*"]
verbose = 2
quiet = false
whitelist-regex = []
color = true
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.pyright]
include = ["src", "tests"]
exclude = ["**/node_modules",
"**/__pycache__",
]
reportMissingImports = true
reportMissingTypeStubs = false
# Store the environment in the repository,
# as otherwise Pyright may be missing dependencies
venvPath = "."
venv = ".venv"