Skip to content

Commit 00d13e4

Browse files
committed
🔧: update hatch vcs config
Signed-off-by: nstarman <[email protected]>
1 parent 9027b7d commit 00d13e4

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Diff for: ‎pyproject.toml

+8-1
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,12 @@ test = [
4747

4848

4949
[tool.hatch]
50-
build.hooks.vcs.version-file = "src/array_api_typing/_version.py"
5150
version.source = "vcs"
51+
52+
[tool.hatch.build.hooks.vcs]
53+
version-file = "src/array_api_typing/_version.py"
54+
template = '''
55+
# This file is automatically generated by Hatch
56+
version = {version!r}
57+
version_tuple = {version_tuple!r}
58+
'''

0 commit comments

Comments
 (0)