-
Notifications
You must be signed in to change notification settings - Fork 23
/
pyproject.toml
70 lines (60 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "zuko"
description = "Normalizing flows in PyTorch"
authors = [
{name = "The Probabilists", email = "[email protected]"}
]
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
]
dynamic = ["dependencies", "version"]
keywords = [
"torch",
"normalizing flows",
"probability",
"distribution",
"generative",
"deep learning",
]
readme = "README.md"
requires-python = ">=3.8"
[project.optional-dependencies]
dev = [
"pre-commit",
"pytest",
"ruff",
]
[project.urls]
documentation = "https://zuko.readthedocs.io"
source = "https://github.com/probabilists/zuko"
tracker = "https://github.com/probabilists/zuko/issues"
[tool.ruff]
extend-include = ["*.ipynb"]
line-length = 99
[tool.ruff.lint]
extend-select = ["B", "I", "RUF022", "W"]
ignore = ["E731", "E741"]
preview = true
[tool.ruff.lint.extend-per-file-ignores]
"__init__.py" = ["F401"]
"test_*.py" = ["F403", "F405"]
"*.ipynb" = ["B007"]
[tool.ruff.lint.isort]
lines-between-types = 1
relative-imports-order = "closest-to-furthest"
section-order = ["future", "third-party", "first-party", "local-folder"]
[tool.ruff.format]
preview = true
[tool.setuptools.dynamic]
dependencies = {file = "requirements.txt"}
version = {attr = "zuko.__version__"}
[tool.setuptools.packages.find]
include = ["zuko*"]