Skip to content

Commit 07c5261

Browse files
authored
Lint task.py file with black (#66)
1 parent 8de24f7 commit 07c5261

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def build(ctx):
199199
print("Dist folder:")
200200
for fname in sorted(os.listdir(dist_dir)):
201201
s = os.stat(os.path.join(dist_dir, fname)).st_size
202-
print(" {:0.0f} KiB {}".format(s / 2 ** 10, fname))
202+
print(" {:0.0f} KiB {}".format(s / 2**10, fname))
203203
if sys.platform.startswith("win"):
204204
print("Note that the exes for Linux/OSX are not chmodded properly!")
205205

@@ -214,7 +214,7 @@ def release(ctx):
214214
print("This is what you are about to upload:")
215215
for fname in sorted(os.listdir(dist_dir)):
216216
s = os.stat(os.path.join(dist_dir, fname)).st_size
217-
print(" {:0.0f} KiB {}".format(s / 2 ** 10, fname))
217+
print(" {:0.0f} KiB {}".format(s / 2**10, fname))
218218

219219
while True:
220220
x = input("Are you sure you want to upload now? [Y/N]: ")

0 commit comments

Comments
 (0)