Skip to content

Commit 5d31acb

Browse files
committed
🔧: update hatch vcs config
Signed-off-by: nstarman <[email protected]>
1 parent 13d3a93 commit 5d31acb

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
@@ -51,9 +51,16 @@
5151

5252

5353
[tool.hatch]
54-
build.hooks.vcs.version-file = "src/array_api_typing/_version.py"
5554
version.source = "vcs"
5655

56+
[tool.hatch.build.hooks.vcs]
57+
version-file = "src/array_api_typing/_version.py"
58+
template = '''
59+
# This file is automatically generated by Hatch
60+
version = {version!r}
61+
version_tuple = {version_tuple!r}
62+
'''
63+
5764

5865
[tool.coverage]
5966
report.exclude_also = ['\.\.\.', 'if typing.TYPE_CHECKING:']

0 commit comments

Comments
 (0)