1
1
[project ]
2
- authors = [
3
- {name = " xarray Developers" , email = " xarray@googlegroups.com" },
4
- ]
2
+ authors = [{ name = " xarray Developers" , email = " xarray@googlegroups.com" }]
5
3
classifiers = [
6
4
" Development Status :: 5 - Production/Stable" ,
7
5
" License :: OSI Approved :: Apache Software License" ,
@@ -16,16 +14,12 @@ classifiers = [
16
14
]
17
15
description = " N-D labeled arrays and datasets in Python"
18
16
dynamic = [" version" ]
19
- license = {text = " Apache-2.0" }
17
+ license = { text = " Apache-2.0" }
20
18
name = " xarray"
21
19
readme = " README.md"
22
20
requires-python = " >=3.10"
23
21
24
- dependencies = [
25
- " numpy>=1.24" ,
26
- " packaging>=23.2" ,
27
- " pandas>=2.1" ,
28
- ]
22
+ dependencies = [" numpy>=1.24" , " packaging>=23.2" , " pandas>=2.1" ]
29
23
30
24
# We don't encode minimum requirements here (though if we can write a script to
31
25
# generate the text from `min_deps_check.py`, that's welcome...). We do add
@@ -50,7 +44,16 @@ dev = [
50
44
" sphinx_autosummary_accessors" ,
51
45
" xarray[complete]" ,
52
46
]
53
- io = [" netCDF4" , " h5netcdf" , " scipy" , ' pydap; python_version<"3.10"' , " zarr" , " fsspec" , " cftime" , " pooch" ]
47
+ io = [
48
+ " netCDF4" ,
49
+ " h5netcdf" ,
50
+ " scipy" ,
51
+ ' pydap; python_version<"3.10"' ,
52
+ " zarr" ,
53
+ " fsspec" ,
54
+ " cftime" ,
55
+ " pooch" ,
56
+ ]
54
57
etc = [" sparse" ]
55
58
parallel = [" dask[complete]" ]
56
59
viz = [" cartopy" , " matplotlib" , " nc-time-axis" , " seaborn" ]
@@ -67,10 +70,7 @@ dask = "xarray.namedarray.daskmanager:DaskManager"
67
70
68
71
[build-system ]
69
72
build-backend = " setuptools.build_meta"
70
- requires = [
71
- " setuptools>=42" ,
72
- " setuptools-scm>=7" ,
73
- ]
73
+ requires = [" setuptools>=42" , " setuptools-scm>=7" ]
74
74
75
75
[tool .setuptools ]
76
76
packages = [" xarray" ]
@@ -94,10 +94,7 @@ exclude_lines = ["pragma: no cover", "if TYPE_CHECKING"]
94
94
95
95
[tool .mypy ]
96
96
enable_error_code = [" ignore-without-code" , " redundant-self" , " redundant-expr" ]
97
- exclude = [
98
- ' build' ,
99
- ' xarray/util/generate_.*\.py' ,
100
- ]
97
+ exclude = [' build' , ' xarray/util/generate_.*\.py' ]
101
98
files = " xarray"
102
99
show_error_context = true
103
100
warn_redundant_casts = true
@@ -228,10 +225,7 @@ module = ["xarray.namedarray.*", "xarray.tests.test_namedarray"]
228
225
# reportMissingTypeStubs = false
229
226
230
227
[tool .ruff ]
231
- extend-exclude = [
232
- " doc" ,
233
- " _typed_ops.pyi" ,
234
- ]
228
+ extend-exclude = [" doc" , " _typed_ops.pyi" ]
235
229
236
230
[tool .ruff .lint ]
237
231
extend-select = [
@@ -249,7 +243,7 @@ extend-select = [
249
243
" RUF" ,
250
244
]
251
245
extend-safe-fixes = [
252
- " TID252" , # absolute imports
246
+ " TID252" , # absolute imports
253
247
]
254
248
ignore = [
255
249
" E402" , # module level import not at top of file
@@ -327,7 +321,7 @@ filterwarnings = [
327
321
" default:the `pandas.MultiIndex` object:FutureWarning:xarray.tests.test_variable" ,
328
322
" default:Using a non-tuple sequence for multidimensional indexing is deprecated:FutureWarning" ,
329
323
" default:Duplicate dimension names present:UserWarning:xarray.namedarray.core" ,
330
- " default:::xarray.tests.test_strategies" , # TODO: remove once we know how to deal with a changed signature in protocols
324
+ " default:::xarray.tests.test_strategies" , # TODO: remove once we know how to deal with a changed signature in protocols
331
325
]
332
326
333
327
log_cli_level = " INFO"
0 commit comments