Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
moltenform committed Jun 10, 2024
1 parent 0eb2b26 commit c33b817
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
with open(version_file) as f:
for line in f.read().split("\n"):
if line.startswith("__version__ ="):
version = re.match(r"^\s*__version__\s*=\s*['\"](.*?)['\"]\s*$", line).group(1)
version = re.match(
r"^\s*__version__\s*=\s*['\"](.*?)['\"]\s*$", line
).group(1)
break
else:
print("No __version__ attribute found in %r" % version_file)
Expand Down

0 comments on commit c33b817

Please sign in to comment.