Skip to content

Commit

Permalink
Add black to steps for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
shyuep committed Jan 15, 2022
1 parent 2ea2de0 commit fddb019
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ def set_ver(ctx):
lines.append(re.sub(r"version=([^,]+),", 'version="%s",' % NEW_VER, l.rstrip()))
with open("setup.py", "wt") as f:
f.write("\n".join(lines))
ctx.run("black pymatgen")
ctx.run("black setup.py")


@task
Expand Down

0 comments on commit fddb019

Please sign in to comment.