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 7cb5f25 commit 5232a88Copy full SHA for 5232a88
setup.py
@@ -7,8 +7,8 @@
7
# parse the version instead of importing it to avoid dependency-related crashes
8
with open('repomate_plug/__version.py', mode='r', encoding='utf-8') as f:
9
line = f.readline()
10
- __version__ = line.split('=')[1].strip(" '\"")
11
- assert re.match(r'\d\.\d\.\d', __version__)
+ __version__ = line.split('=')[1].strip(" '\"\n")
+ assert re.match(r'^\d\.\d\.\d$', __version__)
12
13
test_requirements = ['pytest', 'pytest-cov', 'codecov']
14
required = ['pluggy']
0 commit comments