Skip to content

Commit 27b3090

Browse files
committed
ci: update repo version test to conform to PEP440
1 parent 3b7446d commit 27b3090

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_repo/test_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def files():
1919

2020
def test_static_version_file(files):
2121
assert re.match(
22-
r'^[0-9]\.[0-9]\.[0-9]{1,2}(\.post[0-9]+|\.rc[0-9]+){0,1}$',
22+
r'^[0-9]\.[0-9]\.[0-9]{1,2}(a[0-9]+|b[0-9]+|rc[0-9]+){0,1}$',
2323
files['VERSION'].getvalue().strip(),
2424
)
2525

0 commit comments

Comments
 (0)