-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
75 lines (66 loc) · 2.01 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
[project]
name = "arianna-ppl"
dynamic = ["version"]
description = "Arianna probabilistic programming language"
readme = "README.md"
authors = [ { name = "Arthur Lui", email = "[email protected]" } ]
maintainers = [ { name="Arthur Lui", email = "[email protected]" } ]
classifiers = [
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
requires-python = ">=3.10"
dependencies = [
"numpy>=2.2.1",
"scipy>=1.15.0",
"tqdm>=4.65,<5.0.0",
]
[project.urls]
Homepage = "https://github.com/lanl/arianna-ppl"
Documentation = "https://lanl.github.io/arianna-ppl"
Repository = "https://github.com/lanl/arianna-ppl"
Issues = "https://github.com/lanl/arianna-ppl/issues"
Changelog = "https://github.com/lanl/arianna-ppl/blob/master/CHANGELOG.md"
[build-system]
requires = ["setuptools>=74.1", "setuptools-git-versioning>=2.0,<3"]
build-backend = "setuptools.build_meta"
[dependency-groups]
dev = [
"emcee>=3.1.6",
"matplotlib>=3.10.0",
"pdoc>=15.0.1",
"pytest>=8.3.4",
"seaborn>=0.13.2",
"watchdog>=6.0.0",
# psutil (notebook dependency) does not yet work with 3.13t.
"notebook>=7.2.2; python_version < '3.13'",
"bump-cli>=0.3.0",
]
[tool.setuptools-git-versioning]
enabled = true
[tool.ruff]
line-length = 80
[tool.ruff.lint]
ignore = ["D100"]
extend-select = ["I", "D", "W505"]
extend-unsafe-fixes = ["F401"]
pydocstyle.convention = "numpy"
pycodestyle.max-doc-length = 80
# Ignore test file documentation linting.
[tool.ruff.lint.extend-per-file-ignores]
"tests/**/*.py" = ["D"]
"demos/**/*.ipynb" = ["D"]
[tool.pytest.ini_options]
norecursedirs = ["venv", "build", ".git", "docs"]
addopts = "-s"
testpaths = [
"tests",
]
# This is a workaround due to https://github.com/astral-sh/uv/issues/9513.
# When setuptools is fixed, this can be removed. (1/16/2025)
[tool.setuptools]
license-files = []