-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
165 lines (147 loc) · 4.11 KB
/
pyproject.toml
File metadata and controls
165 lines (147 loc) · 4.11 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
[tool.poetry]
name = "pyrecest"
description = "Framework for recursive Bayesian estimation in Python."
readme = "README.md"
authors = ["Florian Pfaff <pfaff@ias.uni-stuttgart.de>"]
version = "2.2.4"
include = ["src/pyrecest/py.typed"]
license = "MIT"
keywords = [
"bayesian-filtering",
"recursive-estimation",
"tracking",
"multi-target-tracking",
"manifolds",
"directional-statistics",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering",
]
[tool.poetry.urls]
Homepage = "https://github.com/FlorianPfaff/PyRecEst"
Documentation = "https://florianpfaff.github.io/PyRecEst/"
Repository = "https://github.com/FlorianPfaff/PyRecEst"
Issues = "https://github.com/FlorianPfaff/PyRecEst/issues"
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.dependencies]
python = ">=3.11,<3.15"
numpy = ">=2.0,<2.5"
scipy = ">=1.14,<1.18"
matplotlib = ">=3.8,<4.0"
mpmath = ">=1.3,<1.4"
pyshtools = ">=4.12,<5.0"
beartype = ">=0.18,<0.23"
shapely = ">=2.0,<3.0"
healpy = { version = ">=1.17,<2.0", optional = true }
torch = { version = ">=2.4,<3.0", optional = true }
jax = { version = ">=0.4.30,<0.11", optional = true }
jaxlib = { version = ">=0.4.30,<0.11", optional = true }
autograd = { version = ">=1.7,<2.0", optional = true }
[tool.poetry.scripts]
pyrecest = "pyrecest.cli:main"
[tool.poetry.extras]
healpy_support = ["healpy"]
pytorch_support = ["torch"]
jax_support = ["jax", "jaxlib", "autograd"]
all_support = ["healpy", "torch", "jax", "jaxlib", "autograd"]
[tool.poetry.group.dev.dependencies]
autopep8 = "^2.3.2"
pytest = ">=8,<10"
pytest-cov = ">=5,<8"
parameterized = ">=0.9,<1.0"
nox = ">=2024.10,<2027.0"
pytest-benchmark = ">=4.0,<6.0"
asv = ">=0.6,<1.0"
[tool.poetry.group.docs.dependencies]
mkdocs = "^1.6.1"
mkdocstrings = { version = "^1.0.4", extras = ["python"] }
[tool.mypy]
check_untyped_defs = true
[[tool.mypy.overrides]]
module = [
"pyrecest.diagnostics",
"pyrecest.reproducibility",
"pyrecest.scenarios",
]
disallow_untyped_defs = true
warn_return_any = true
[tool.ruff]
line-length = 180
[tool.ruff.lint]
select = ["F821", "F822", "F823"]
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
filterwarnings = [
"ignore::DeprecationWarning:mpmath.*",
"ignore::scipy.optimize.OptimizeWarning",
"ignore:'return' in a 'finally' block:SyntaxWarning:autograd\\.wrap_util",
]
markers = [
"numerical_stress: slower numerical stability and ill-conditioning checks",
"benchmark: optional performance benchmark tests",
"backend_portable: subprocess-based checks that verify import-time backend portability",
"doc_example: executable documentation examples",
"validation: closed-form or reference-result algorithm validation tests",
]
[tool.coverage.run]
branch = true
source = ["pyrecest"]
omit = [
"*/tests/*",
"*/benchmarks/*",
]
[tool.coverage.report]
show_missing = true
skip_covered = true
fail_under = 20
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"if __name__ == .__main__.:",
]
[tool.pylint.MAIN]
py-version = "3.13"
fail-under = 10
ignore = ["CVS"]
ignored-modules = ["pyrecest.backend", "healpy", "torch", "jax", "jaxlib"]
[tool.pylint."MESSAGES CONTROL"]
disable = [
"raw-checker-failed",
"bad-inline-option",
"locally-disabled",
"file-ignored",
"suppressed-message",
"deprecated-pragma",
"use-symbolic-message-instead",
"C",
"W0221",
"redefined-builtin",
"cyclic-import",
"too-many-locals",
"too-many-return-statements",
"too-many-branches",
"too-many-statements",
"too-many-arguments",
"too-many-positional-arguments",
"too-many-instance-attributes",
"duplicate-code",
]
[tool.pylint.FORMAT]
max-line-length = 180
[tool.pylint.DESIGN]
max-args = 6
max-parents = 15
max-public-methods = 25
min-public-methods = 0