Skip to content

Commit d293d6e

Browse files
committed
test: use attr for version instead of regex
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
1 parent 5df19e4 commit d293d6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Funding = "https://liberapay.com/tldr-pages"
7373

7474
[tool.hatch.version]
7575
path = "tldr.py"
76-
pattern = '''__version__ = ["'](.*?)["']'''
76+
attr = "__version__"
7777

7878
[tool.hatch.build.targets.wheel.shared-data]
7979
"docs/man" = "share/man/man1"

0 commit comments

Comments
 (0)