Buckets:

download
raw
474 Bytes
from nos.version import __version__ # noqa: F401
def test_semver_syntax():
"""Test that the version string is a valid semantic version.
Allow pre-release versions (e.g. 0.0.4a0) but not build metadata (e.g. 0.0.4+1).
"""
# assert re.match(r"^\d+\.\d+\.\d+[a-z]+[0-0]?$", __version__)
# Get major, minor, and patch version tuple
major, minor, patch = tuple(x for x in __version__.split("."))
assert int(major) == 0
assert int(minor) >= 0

Xet Storage Details

Size:
474 Bytes
·
Xet hash:
fd3a9748e8e52ad7968488d76cf9fdbfbe17d526617db501f33775a8bea15074

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.