We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b91a90 commit 48383d2Copy full SHA for 48383d2
justfile
@@ -188,15 +188,15 @@ run +ARGS:
188
validate_version VERSION:
189
import re
190
import tomllib
191
- import ptm
+ import enum_properties
192
from packaging.version import Version
193
raw_version = "{{ VERSION }}".lstrip("v")
194
version_obj = Version(raw_version)
195
# the version should be normalized
196
assert str(version_obj) == raw_version
197
# make sure all places the version appears agree
198
assert raw_version == tomllib.load(open('pyproject.toml', 'rb'))['project']['version']
199
- assert raw_version == ptm.__version__
+ assert raw_version == enum_properties.__version__
200
print(version)
201
202
# issue a relase for the given semver string (e.g. 2.1.0)
0 commit comments