Skip to content

Commit

Permalink
Add dev dependencies to pyproject.toml (#8661)
Browse files Browse the repository at this point in the history
* Add `dev` dependencies to `pyproject.toml`
  • Loading branch information
max-sixty authored Jan 25, 2024
1 parent 037a39e commit 6801e27
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,24 @@ dependencies = [
"pandas>=1.5",
]

[project.optional-dependencies]
accel = ["scipy", "bottleneck", "numbagg", "flox", "opt_einsum"]
complete = ["xarray[accel,io,parallel,viz,dev]"]
dev = [
"hypothesis",
"pre-commit",
"pytest",
"pytest-cov",
"pytest-env",
"pytest-xdist",
"pytest-timeout",
"ruff",
"xarray[complete]",
]
io = ["netCDF4", "h5netcdf", "scipy", 'pydap; python_version<"3.10"', "zarr", "fsspec", "cftime", "pooch"]
parallel = ["dask[complete]"]
viz = ["matplotlib", "seaborn", "nc-time-axis"]

[project.urls]
Documentation = "https://docs.xarray.dev"
SciPy2015-talk = "https://www.youtube.com/watch?v=X0pAhJgySxk"
Expand All @@ -38,13 +56,6 @@ source-code = "https://github.com/pydata/xarray"
[project.entry-points."xarray.chunkmanagers"]
dask = "xarray.core.daskmanager:DaskManager"

[project.optional-dependencies]
accel = ["scipy", "bottleneck", "numbagg", "flox", "opt_einsum"]
complete = ["xarray[accel,io,parallel,viz]"]
io = ["netCDF4", "h5netcdf", "scipy", 'pydap; python_version<"3.10"', "zarr", "fsspec", "cftime", "pooch"]
parallel = ["dask[complete]"]
viz = ["matplotlib", "seaborn", "nc-time-axis"]

[build-system]
build-backend = "setuptools.build_meta"
requires = [
Expand Down Expand Up @@ -273,5 +284,5 @@ test = "pytest"

[tool.repo-review]
ignore = [
"PP308" # This option creates a large amount of log lines.
"PP308", # This option creates a large amount of log lines.
]

0 comments on commit 6801e27

Please sign in to comment.