-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
75 lines (64 loc) · 1.69 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "surjectors"
description = "Surjection layers for density estimation with normalizing flows"
authors = [{name = "Simon Dirmeier", email = "[email protected]"}]
readme = "README.md"
license = "Apache-2.0"
homepage = "https://github.com/dirmeier/surjectors"
keywords = ["normalizing flows", "surjections", "density estimation"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
requires-python = ">=3.9"
dependencies = [
"distrax>=0.1.4",
"dm-haiku>=0.0.10",
"jaxlib>=0.4.18",
"jax>=0.4.18",
"optax>=0.1.7"
]
dynamic = ["version"]
[project.urls]
homepage = "https://github.com/dirmeier/surjectors"
[tool.hatch.version]
path = "surjectors/__init__.py"
[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
"./gitignore",
"/.pre-commit-config.yaml"
]
[tool.hatch.envs.examples]
dependencies = [
"matplotlib>=3.6.1"
]
[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 surjectors'
test = 'pytest -v --cov=./surjectors --cov-report=xml surjectors'
[tool.bandit]
skips = ["B101"]
[tool.ruff]
line-length = 80
exclude = ["*_test.py", "docs/**", "examples/**"]
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F"]
extend-select = [
"UP", "D", "I", "PL", "S"
]
[tool.ruff.lint.pydocstyle]
convention= 'google'