-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (76 loc) · 1.67 KB
/
pyproject.toml
File metadata and controls
87 lines (76 loc) · 1.67 KB
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
83
84
85
86
87
[project]
name = "PyRenew"
version = "0.1.7"
description = "PyRenew, a Python package for multi-signal Bayesian renewal modeling with JAX and NumPyro."
readme = "README.md"
license = "Apache-2.0"
authors = [{name = "CFA"}]
requires-python = ">= 3.13"
dependencies = [
"jax>=0.7.0",
"numpy>=2.0.0",
"polars>=1.2.1",
"numpyro>=0.19.0",
]
[dependency-groups]
dev = [
"arviz>=1.0.0",
"beautifulsoup4>=4.13.5",
"deptry>=0.23.1",
"ipykernel>=6.30.1",
"markdown-callouts>=0.4.0",
"mkdocs>=1.6.1",
"mkdocs-awesome-pages-plugin>=2.10.1",
"mkdocs-material>=9.6.19",
"mkdocstrings>=0.30.0",
"mkdocstrings-python>=1.18.2",
"nbconvert>=7.16.6",
"pandas>=3.0.2",
"plotnine>=0.14.0",
"pre-commit>=4.5.1",
"pytest>=8.4.2",
"pytest-cov>=6.3.0",
"pytest-mpl>=0.17.0",
"ruff>=0.15.0",
"scipy>=1.16.1",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
include = ["datasets/*.tsv"]
exclude = ["datasets/*.rds"]
[tool.hatch.build.targets.wheel]
packages = ["pyrenew"]
[tool.numpydoc_validation]
checks = [
"GL03",
"GL08",
"SS01",
"PR03",
"PR07",
"RT01"
]
ignore = [
"PR04",
"ES01",
"SA01",
"EX01",
"SS06",
"RT05"
]
exclude = [ # don't report on objects that match any of these regex
'\.undocumented_method$',
'\.__repr__$',
'\.__call__$'
]
[tool.deptry]
known_first_party = ["pyrenew", "test"]
[tool.deptry.per_rule_ignores]
DEP004 = ["arviz", "pytest", "scipy", "bs4"]
[tool.ruff]
fix = true
[tool.ruff.lint]
select = ["I", "E4", "E7", "E9", "F", "UP", "ANN"]
[tool.ruff.lint.per-file-ignores]
"test/**" = ["ANN"]