Skip to content

Commit

Permalink
Black can fail as described here: psf/black#1161
Browse files Browse the repository at this point in the history
  • Loading branch information
flachica committed Jun 21, 2020
1 parent 1ccf9c5 commit 8e539a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/config.py
Expand Up @@ -97,7 +97,8 @@ def is_package():
f.close()
pos = line.find("(")
posf = line.find(")", pos)
VERSION = line[pos + 1 : posf].strip()
# fmt: off
VERSION = line[pos + 1:posf].strip()
if not is_package():
VERSION = VERSION + "-src"

Expand Down

0 comments on commit 8e539a9

Please sign in to comment.