Skip to content

Commit

Permalink
Fix version string finding
Browse files Browse the repository at this point in the history
  • Loading branch information
ebellocchia committed Apr 22, 2021
1 parent 14534ea commit 3d3294a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

def load_version():
version_line = open(VERSION_FILE).read().rstrip()
vre = re.compile(r'__version__ = "([^"]+)"')
vre = re.compile(r'__version__: str = "([^"]+)"')
matches = vre.findall(version_line)

if matches and len(matches) > 0:
Expand Down

0 comments on commit 3d3294a

Please sign in to comment.