-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
114 lines (105 loc) · 2.18 KB
/
pyproject.toml
File metadata and controls
114 lines (105 loc) · 2.18 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
[build-system]
build-backend = "hatchling.build"
requires = [ "hatch-vcs", "hatchling" ]
[project]
name = "xpublish-zarr"
description = "Zarr-compatible REST API plugin for Xpublish."
readme = "README.md"
keywords = [
"api",
"xarray",
"xpublish",
"zarr",
]
license = "Apache-2.0"
license-files = [ "LICENSE" ]
maintainers = [
{ name = "Joe Hamman", email = "jhamman@ucar.edu" },
{ name = "Alex Kerney", email = "akerney@gmri.org" },
]
requires-python = ">=3.11"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering",
]
dynamic = [ "version" ]
dependencies = [
"cachey",
"dask",
"fastapi>=0.115",
"numcodecs",
"numpy",
"xarray>=2025.7",
"xpublish",
"zarr>=3.1",
]
urls.Repository = "https://github.com/xpublish-community/xpublish-zarr"
entry-points."xpublish.plugin".zarr = "xpublish_zarr.plugin:ZarrPlugin"
[dependency-groups]
dev = [
"httpx",
"netcdf4>=1.7.4",
"pooch>=1.9",
"pre-commit",
"pytest",
"pytest-asyncio",
"pytest-cov",
]
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "xpublish_zarr/_version.py"
[tool.hatch.build.targets.wheel]
packages = [ "xpublish_zarr" ]
[tool.ruff]
line-length = 100
lint.select = [
"B",
"B9",
"C",
"D",
"E",
"F",
"I",
"W",
]
lint.ignore = [
"C901",
"D100",
"D104",
"D105",
"D107",
"E402",
"E501",
"E722",
]
lint.exclude = [ "tests/" ]
lint.per-file-ignores."tests/*" = [
"D103",
"D205",
"D415",
]
lint.flake8-bugbear.extend-immutable-calls = [
"fastapi.Depends",
"fastapi.Path",
"fastapi.Query",
]
lint.isort.combine-as-imports = true
lint.isort.known-first-party = [ "xpublish_zarr" ]
lint.mccabe.max-complexity = 18
lint.pydocstyle.convention = "google"
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
log_cli = true
log_level = "INFO"
addopts = "-v"
[tool.uv]
default-groups = [ "dev" ]