Skip to content

Commit afab20e

Browse files
jdmonacoclaude
andcommitted
Use dynamic version from __init__.py in pyproject.toml
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 31a76ce commit afab20e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "mdformat_space_control"
7-
version = "0.3.0"
7+
dynamic = ["version"]
88
description = "An mdformat plugin for space control: EditorConfig indentation, tight lists, frontmatter spacing, and wikilinks."
99
authors = [
1010
{ name = "Joseph Monaco", email = "joe@selfmotion.net" },
@@ -43,6 +43,9 @@ Homepage = "https://github.com/jdmonaco/mdformat-space-control"
4343
[project.entry-points."mdformat.parser_extension"]
4444
space_control = "mdformat_space_control"
4545

46+
[tool.hatch.version]
47+
path = "mdformat_space_control/__init__.py"
48+
4649
[tool.hatch.build.targets.sdist]
4750
exclude = [".github/", "tests/"]
4851

0 commit comments

Comments
 (0)