-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (75 loc) · 1.89 KB
/
pyproject.toml
File metadata and controls
89 lines (75 loc) · 1.89 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
[project]
name = "xarray-kat"
version = "0.0.2"
description = "Add your description here"
readme = "README.rst"
authors = [
{ name = "Simon Perkins", email = "simon.perkins@gmail.com" }
]
requires-python = ">=3.11"
dependencies = [
"katpoint>=0.10.2",
"katsdptelstate[rdb]>=1.0.0",
"tensorstore>=0.1.81",
"xarray>=2025.9.1",
]
[project.entry-points."xarray.backends"]
"xarray-kat" = "xarray_kat.entrypoint:KatEntryPoint"
[project.entry-points."xarray.chunkmanagers"]
"xarray-kat" = "xarray_kat.meerkat_chunk_manager:MeerKatChunkManager"
[project.optional-dependencies]
testing = [
"cloudpickle>=3.1.1",
"dask>=2025.9.1",
"dill>=0.4.0",
# not all dependencies have 3.14 releases yet
"katdal>=0.23; python_version < '3.14'",
"pytest>=8.4.2",
"pytest-httpserver>=1.1.0",
# no 3.14 releases yet
"xradio>=1.1.2; python_version >= '3.11' and python_version < '3.14'",
]
numba = [
"numba>=0.62.1",
]
[build-system]
requires = ["uv_build>=0.8.17,<0.9.0"]
build-backend = "uv_build"
[dependency-groups]
dev = [
"pre-commit>=4.3.0",
"tbump>=6.11.0",
]
[tool.ruff]
line-length = 88
indent-width = 2
target-version = "py311"
[tool.ruff.lint]
select = ["F", "E", "W", "I001"]
extend-select = ["I"]
exclude = [
"src/xarray_kat/third_party/*",
]
[tool.tbump]
# Uncomment this if your project is hosted on GitHub:
# github_url = "https://github.com/<user or organization>/<project>/"
[tool.tbump.version]
current = "0.0.2"
# Example of a semver regexp.
# Make sure this matches current_version before
# using tbump
regex = '''
(?P<major>\d+)
\.
(?P<minor>\d+)
\.
(?P<patch>\d+)
'''
[tool.tbump.git]
message_template = "Bump to {new_version}"
tag_template = "{new_version}"
# For each file to patch, add a [[tool.tbump.file]] config
# section containing the path of the file, relative to the
# tbump.toml location.
[[tool.tbump.file]]
src = "pyproject.toml"