-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into list-engines
- Loading branch information
Showing
60 changed files
with
1,248 additions
and
638 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -159,7 +159,9 @@ jobs: | |
path: pytest.xml | ||
|
||
- name: Upload code coverage to Codecov | ||
uses: codecov/[email protected] | ||
uses: codecov/[email protected] | ||
env: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
with: | ||
file: ./coverage.xml | ||
flags: unittests | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[project] | ||
authors = [ | ||
{name = "xarray Developers", email = "[email protected]"}, | ||
{ name = "xarray Developers", email = "[email protected]" }, | ||
] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
|
@@ -16,7 +16,7 @@ classifiers = [ | |
] | ||
description = "N-D labeled arrays and datasets in Python" | ||
dynamic = ["version"] | ||
license = {text = "Apache-2.0"} | ||
license = { text = "Apache-2.0" } | ||
name = "xarray" | ||
readme = "README.md" | ||
requires-python = ">=3.10" | ||
|
@@ -45,12 +45,21 @@ dev = [ | |
"pytest-env", | ||
"pytest-xdist", | ||
"pytest-timeout", | ||
"ruff", | ||
"ruff>=0.8.0", | ||
"sphinx", | ||
"sphinx_autosummary_accessors", | ||
"xarray[complete]", | ||
] | ||
io = ["netCDF4", "h5netcdf", "scipy", 'pydap; python_version<"3.10"', "zarr", "fsspec", "cftime", "pooch"] | ||
io = [ | ||
"netCDF4", | ||
"h5netcdf", | ||
"scipy", | ||
'pydap; python_version<"3.10"', | ||
"zarr", | ||
"fsspec", | ||
"cftime", | ||
"pooch", | ||
] | ||
etc = ["sparse"] | ||
parallel = ["dask[complete]"] | ||
viz = ["cartopy", "matplotlib", "nc-time-axis", "seaborn"] | ||
|
@@ -249,14 +258,13 @@ extend-select = [ | |
"RUF", | ||
] | ||
extend-safe-fixes = [ | ||
"TID252", # absolute imports | ||
"TID252", # absolute imports | ||
] | ||
ignore = [ | ||
"E402", # module level import not at top of file | ||
"E501", # line too long - let the formatter worry about that | ||
"E731", # do not assign a lambda expression, use a def | ||
"UP007", # use X | Y for type annotations | ||
"UP027", # deprecated | ||
"C40", # unnecessary generator, comprehension, or literal | ||
"PIE790", # unnecessary pass statement | ||
"PERF203", # try-except within a loop incurs performance overhead | ||
|
@@ -328,7 +336,9 @@ filterwarnings = [ | |
"default:the `pandas.MultiIndex` object:FutureWarning:xarray.tests.test_variable", | ||
"default:Using a non-tuple sequence for multidimensional indexing is deprecated:FutureWarning", | ||
"default:Duplicate dimension names present:UserWarning:xarray.namedarray.core", | ||
"default:::xarray.tests.test_strategies", # TODO: remove once we know how to deal with a changed signature in protocols | ||
|
||
# TODO: remove once we know how to deal with a changed signature in protocols | ||
"default:::xarray.tests.test_strategies", | ||
] | ||
|
||
log_cli_level = "INFO" | ||
|
Oops, something went wrong.