-
-
Notifications
You must be signed in to change notification settings - Fork 500
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (86 loc) · 2.37 KB
/
Copy pathpyproject.toml
File metadata and controls
95 lines (86 loc) · 2.37 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
[build-system]
requires = ["flit_core >=3.4,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "arviz"
readme = "README.md"
requires-python = ">=3.12"
license = {file = "LICENSE"}
authors = [
{name = "ArviZ team", email = "arvizdevs@gmail.com"}
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"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.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dynamic = ["version", "description"]
dependencies = [
"arviz_base>=1.2.0,<1.3.0",
"arviz_stats[xarray]>=1.2.0,<1.3.0",
"arviz_plots>=1.2.0,<1.3.0",
]
[tool.flit.module]
name = "arviz"
[project.urls]
source = "https://github.com/arviz-devs/arviz"
tracker = "https://github.com/arviz-devs/arviz/issues"
documentation = "https://python.arviz.org"
funding = "https://opencollective.com/arviz"
[project.optional-dependencies]
# user facing optional blocks
netcdf4 = ["arviz_base[netcdf4]"]
h5netcdf = ["arviz_base[h5netcdf]"]
zarr = ["arviz_base[zarr]"]
matplotlib = ["arviz_plots[matplotlib]"]
bokeh = ["arviz_plots[bokeh]"]
plotly = ["arviz_plots[plotly]"]
# dev related blocks
doc = [
"h5netcdf",
"h5py",
"jupyter-sphinx",
"matplotlib",
"myst-parser[linkify]",
"myst-nb",
"pydata-sphinx-theme>=0.13",
"sphinx>=5",
"sphinx-copybutton",
"sphinx-design",
"sphinx-notfound-page",
"sphinxcontrib-youtube",
"sphinx-togglebutton",
"sphobjinv",
]
test = ["pytest"]
check = ["build", "pre-commit"]
[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
]
[tool.ruff.lint.per-file-ignores]
"src/arviz/__init__.py*" = ["I", "F401", "E402", "F403"]
"docs/source/**/*.ipynb" = ["D", "E", "F", "I", "NPY", "PL", "TID", "UP", "W"]
"docs/source/conf.py" = ["D"]
"tests/**/*" = ["D", "PLR2004", "TID252"]
[tool.pytest.ini_options]
filterwarnings = ["error"]
testpaths = ["tests"]