-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (81 loc) · 2.23 KB
/
pyproject.toml
File metadata and controls
92 lines (81 loc) · 2.23 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
[build-system]
build-backend = "setuptools.build_meta"
requires = [ "setuptools>=72", "setuptools-scm[toml]>=8", "wheel" ]
[project]
name = "xarray-subset-grid"
description = "Subset Xarray datasets in time and space"
readme = "README.md"
keywords = [ "xarray" ]
license = { file = "LICENSE" }
authors = [
{ name = "Christopher H. Barker", email = "chris.barker@noaa.gov" },
{ name = "Matthew Iannucci", email = "matt.iannucci@tetratech.com" },
]
requires-python = ">=3.10"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering",
]
dynamic = [ "version" ]
dependencies = [
"cf-xarray",
"cftime",
"dask",
"netcdf4",
"numpy",
"xarray>=2024.6",
]
optional-dependencies.dev = [
"pooch",
"pre-commit",
"pytest",
"pytest-cov",
"ruff",
"sphinx",
"sphinx-rtd-theme",
]
optional-dependencies.examples = [ "fsspec", "h5netcdf", "matplotlib", "s3fs", "zarr<3" ]
urls."Homepage" = "https://github.com/ioos/xarray-subset-grid/"
[tool.setuptools]
packages = [ "xarray_subset_grid" ]
[tool.setuptools_scm]
write_to = "xarray_subset_grid/_version.py"
[tool.ruff]
target-version = "py310"
# Use a longer line length.
line-length = 100
builtins = [ "ellipsis" ]
extend-exclude = [ "docs", "xarray_subset_grid/_version.py" ]
# Prefer single quotes over double quotes.
format.quote-style = "double"
# Use `\n` line endings for all files
format.line-ending = "lf"
format.exclude = [ "*.ipynb" ]
lint.select = [
"E", # Pycodestyle
"F", # Pyflakes
"I", # isort
"TID", # flake8-tidy-imports (absolute imports)
"UP", # Pyupgrade
"W",
]
lint.ignore = [
"E402", # module level import not at top of file
"E731", # do not assign a lambda expression, use a def
]
lint.extend-safe-fixes = [
"TID252", # absolute imports
]
[tool.pyright]
venvPath = "."
venv = "venv"