-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
81 lines (70 loc) · 1.92 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "sbijax"
description = " Simulation-based inference in JAX"
authors = [{name = "Simon Dirmeier", email = "[email protected]"}]
readme = "README.md"
license = "Apache-2.0"
keywords = [ "sbi", "abc", "simulation-based inference", "approximate Bayesian computation"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
requires-python = ">=3.9"
dependencies = [
"arviz>=0.17.1",
"blackjax-nightly>=1.0.0.post17",
"dm-haiku>=0.0.9",
"matplotlib>=3.6.2",
"optax>=0.1.3",
"seaborn>=0.12.2",
"surjectors>=0.3.3",
"tensorflow>=2.15.0",
"tensorflow-datasets>=4.9.3",
"tfp-nightly>=0.20.0.dev20230404",
"tqdm>=4.64.1"
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/dirmeier/sbijax"
Documentation = "https://sbijax.readthedocs.io"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.version]
path = "sbijax/__init__.py"
[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
"./gitignore",
"/.pre-commit-config.yaml"
]
[tool.hatch.envs.test]
dependencies = [
"ruff>=0.3.0",
"pytest>=7.2.0",
"pytest-cov>=4.0.0",
]
[tool.hatch.envs.test.scripts]
lint = 'ruff check sbijax examples'
format = 'ruff format sbijax examples'
test = 'pytest -v --doctest-modules --cov=./sbijax --cov-report=xml sbijax'
[tool.bandit]
skips = ["B101"]
[tool.ruff]
line-length = 80
exclude = ["*_test.py", "docs/**", "examples/**", "manuscript+supplement/**"]
[tool.ruff.lint]
select = ["E", "F"]
extend-select = [
"UP", "D", "I", "PL", "S"
]
ignore=["S101"]
[tool.ruff.lint.pydocstyle]
convention= 'google'