-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
114 lines (100 loc) · 2.24 KB
/
Copy pathpyproject.toml
File metadata and controls
114 lines (100 loc) · 2.24 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "ptgp"
authors = [
{name = 'Bill Engels', email = 'w.j.engels@gmail.com'},
{name = 'PyMC Developers', email = 'pymc.devs@gmail.com'}
]
description = "A practitioner's toolbox for estimating large-scale Gaussian Process models with PyMC and PyTensor"
readme = "README.md"
requires-python = ">=3.12"
keywords = [
"gaussian processes",
"bayesian",
"variational inference",
"probabilistic programming",
"pymc",
"pytensor",
]
license = {file = "LICENSE"}
dynamic = ["version"]
dependencies = [
"numpy",
"pymc>=6.2.0,<6.3",
"pytensor>=3.2.3,<3.3"
]
[project.optional-dependencies]
dev = ["pytest", "pre-commit", "mypy", "polars"]
[project.urls]
Repository = "https://github.com/pymc-devs/ptgp.git"
Issues = "https://github.com/pymc-devs/ptgp/issues"
[tool.hatch.version]
source = 'vcs'
[tool.hatch.build.hooks.vcs]
version-file = "ptgp/_version.py"
[tool.hatch.build.targets.sdist]
exclude = [
'/.github',
'/notebooks',
]
[tool.hatch.build.targets.wheel]
packages = ["ptgp"]
[tool.hatch.metadata]
allow-direct-references = true
[tool.pytest.ini_options]
minversion = "6.0"
xfail_strict = true
addopts = [
"-v",
"--doctest-modules",
]
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint]
select = ["D", "E", "F", "I", "UP", "W", "RUF"]
ignore = [
"E501",
"RUF001", # String contains ambiguous character (such as Greek letters)
"RUF002", # Docstring contains ambiguous character (such as Greek letters)
"RUF003", # Comment contains ambiguous character (such as Greek letters)
"RUF012", # Mutable class attributes should be annotated with `typing.ClassVar`
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D107",
"D200",
"D202",
"D203",
"D204",
"D205",
"D209",
"D212",
"D213",
"D301",
"D400",
"D401",
"D403",
"D413",
"D415",
"D417",
]
[tool.ruff.lint.isort]
lines-between-types = 1
[tool.mypy]
python_version = "3.12"
ignore_missing_imports = true
strict_equality = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
warn_return_any = true
warn_unreachable = true
files = ["ptgp"]