Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dansondergaard committed Jun 18, 2024
1 parent 3c41ec7 commit 3ea83c8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/gwf/plugins/clean.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,11 @@ def clean(ctx, targets, all, force):
matches = list(filter_generic(targets=graph, filters=filters))

total_size = sum(
os.path.getsize(path)
if os.path.exists(path) and path not in target.protected()
else 0
(
os.path.getsize(path)
if os.path.exists(path) and path not in target.protected()
else 0
)
for target in matches
for path in target.flattened_outputs()
)
Expand Down

0 comments on commit 3ea83c8

Please sign in to comment.