From 26f897cb55ad883db2d4793465d22db21d0c4a15 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Wed, 1 Jun 2022 18:29:49 +0300 Subject: [PATCH] Fix PyLint --- platformio/system/prune.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformio/system/prune.py b/platformio/system/prune.py index e0ef2dd8..e00da69c 100644 --- a/platformio/system/prune.py +++ b/platformio/system/prune.py @@ -66,7 +66,7 @@ def _prune_packages(force, dry_run, silent, handler): for pkg in handler(dry_run=True) ] items = sorted(items, key=itemgetter(1), reverse=True) - reclaimed_space = sum([item[1] for item in items]) + reclaimed_space = sum(item[1] for item in items) if items and not silent: click.echo( tabulate(