forked from pymc-devs/pymc-experimental
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
36 lines (30 loc) · 825 Bytes
/
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
[tool.pytest.ini_options]
minversion = "6.0"
xfail_strict = true
addopts = [
"-v",
"--doctest-modules",
"--ignore=pymc_experimental/model_builder.py"
]
filterwarnings =[
"error",
# Raised by arviz when the model_builder class adds non-standard group names to InferenceData
"ignore::UserWarning:arviz.data.inference_data",
# bool8, find_common_type, cumproduct, and product had deprecation warnings added in numpy 1.25
'ignore:.*(\b(pkg_resources\.declare_namespace|np\.bool8|np\.find_common_type|cumproduct|product)\b).*:DeprecationWarning',
]
[tool.black]
line-length = 100
[tool.coverage.report]
exclude_lines = [
"pragma: nocover",
"raise NotImplementedError",
"if TYPE_CHECKING:",
]
[tool.isort]
profile = "black"
# lines_between_types = 1
[tool.nbqa.mutate]
isort = 1
black = 1
pyupgrade = 1