Skip to content

Commit

Permalink
Add extra documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
noahbroyles committed Jan 8, 2023
1 parent 394b5ce commit 8589798
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@


def test_secsie_semver_syntax():
"""
Ensure that the current version of secsie is appropriate according to the semantic versioning ideology.
"""
VERSION_EX = re.compile(
r"^(?P<major>0|[1-9]\d*)\.(?P<minor>0|[1-9]\d*)\.(?P<patch>0|[1-9]\d*)(?:-(?P<prerelease>(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+(?P<buildmetadata>[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$"
)
Expand Down

0 comments on commit 8589798

Please sign in to comment.