Skip to content

Commit f74d20a

Browse files
author
nightjarrr
committed
Switched to hatch-vcs versioning.
1 parent 9f28675 commit f74d20a

2 files changed

Lines changed: 90 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[project]
22
name = "molim"
3-
version = "0.3.4"
43
description = "A collection of utility commands to process and optimize files."
54
readme = "README.md"
5+
dynamic = ["version"]
66
requires-python = ">=3.12"
77
dependencies = [
88
"rich>=13.9.4",
@@ -15,13 +15,18 @@ molim = "molim:main"
1515

1616
[dependency-groups]
1717
dev = [
18+
"hatch-vcs>=0.5.0",
1819
"pytest>=8.3.4",
1920
"pytest-cov>=6.0.0",
2021
]
2122

2223
[tool.pytest.ini_options]
2324
addopts = "--cov=. --cov-branch --cov-config=.coveragerc --cov-report html --cov-report=xml"
2425

26+
[tool.hatch.version]
27+
source = "vcs"
28+
fallback-version = "0.0.0.dev0" # used on untagged commits locally
29+
2530
[build-system]
26-
requires = ["hatchling"]
31+
requires = ["hatchling", "hatch-vcs"]
2732
build-backend = "hatchling.build"

uv.lock

Lines changed: 83 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)