-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpyproject.toml
96 lines (82 loc) · 2.25 KB
/
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
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
[build-system]
requires = ["flit_core >=3.4,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "simuk"
readme = "README.md"
requires-python = ">=3.11"
license = {file = "LICENSE"}
authors = [
{name = "ArviZ team", email = "[email protected]"}
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dynamic = ["version"]
description = "Simulation based calibration and generation of synthetic data."
dependencies = [
"pymc>=5.20",
"arviz>=0.20.0",
"tqdm"
]
[tool.flit.module]
name = "simuk"
[project.urls]
source = "https://github.com/arviz-devs/simuk"
tracker = "https://github.com/arviz-devs/simuk/issues"
funding = "https://opencollective.com/arviz"
[tool.black]
line-length = 100
[tool.isort]
profile = "black"
include_trailing_comma = true
use_parentheses = true
multi_line_output = 3
line_length = 100
[tool.pydocstyle]
convention = "numpy"
[tool.pytest.ini_options]
testpaths = [
"tests",
]
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = [
"F", # Pyflakes
"E", # Pycodestyle
"W", # Pycodestyle
"D", # pydocstyle
"NPY", # numpy specific rules
"UP", # pyupgrade
"I", # isort
"PL", # Pylint
"TID", # Absolute imports
]
ignore = [
"PLR0912", # too many branches
"PLR0913", # too many arguments
"PLR2004", # magic value comparison
"PLR0915", # too many statements
"NPY002", # Replace legacy `np.random.randn` call with `np.random.Generator`
"D1" # Missing docstring
]
[tool.ruff.lint.per-file-ignores]
"docs/source/**/*.ipynb" = ["D", "E", "F", "I", "NPY", "PL", "TID", "UP", "W"]
"simuk/__init__.py" = ["I", "F401", "E402", "F403"]
"simuk/tests/**/*" = ["D", "PLR2004", "TID252"]
"simuk/tests/**/*.ipynb" = ["E", "F"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all" # Disallow all relative imports.
[tool.ruff.format]
docstring-code-format = false