Skip to content
forked from pydata/xarray

Commit 84e81bc

Browse files
Add types stubs to optional dependencies (pydata#10048)
* Add types stubs to optional dependencies * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 3dafcf9 commit 84e81bc

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

pyproject.toml

+16-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ dev = [
4949
"ruff>=0.8.0",
5050
"sphinx",
5151
"sphinx_autosummary_accessors",
52-
"xarray[complete]",
52+
"xarray[complete,types]",
5353
]
5454
io = [
5555
"netCDF4",
@@ -64,6 +64,21 @@ io = [
6464
etc = ["sparse"]
6565
parallel = ["dask[complete]"]
6666
viz = ["cartopy", "matplotlib", "nc-time-axis", "seaborn"]
67+
types = [
68+
"pandas-stubs",
69+
"types-PyYAML",
70+
"types-Pygments",
71+
"types-colorama",
72+
"types-defusedxml",
73+
"types-docutils",
74+
"types-networkx",
75+
"types-pexpect",
76+
"types-psutil",
77+
"types-pycurl",
78+
"types-python-dateutil",
79+
"types-pytz",
80+
"types-setuptools",
81+
]
6782

6883
[project.urls]
6984
Documentation = "https://docs.xarray.dev"

0 commit comments

Comments
 (0)