-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
pyproject.toml
52 lines (39 loc) · 968 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[tool.pytest.ini_options]
minversion = "6.0"
xfail_strict = true
addopts = ["-vv", "--color=yes"]
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "PL", "UP", "W"]
ignore = [
"PLR2004", # Checks for the use of unnamed numerical constants ("magic") values in comparisons.
"PLR0913", #Too many arguments in function definition
]
[tool.ruff.lint.pylint]
max-args = 19
max-branches = 15
[tool.ruff.lint.extend-per-file-ignores]
"docs/conf.py" = ["E501", "F541"]
"tests/test_*.py" = ["F841"]
[tool.coverage.report]
exclude_lines = [
"pragma: nocover",
"raise NotImplementedError",
"if TYPE_CHECKING:",
]
[tool.nbqa.mutate]
isort = 1
black = 1
pyupgrade = 1
[tool.mypy]
files = "pymc_bart/*.py"
plugins = "numpy.typing.mypy_plugin"
[tool.mypy-matplotlib]
ignore_missing_imports = true
[tool.mypy-numba]
ignore_missing_imports = true
[tool.mypy-pymc]
ignore_missing_imports = true
[tool.mypy-scipy]
ignore_missing_imports = true