aboutsummaryrefslogtreecommitdiff
path: root/pw_bloat
diff options
context:
space:
mode:
authorRob Mohr <mohrr@google.com>2022-11-09 23:33:53 +0000
committerCQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-11-09 23:33:53 +0000
commit1a5986c85cb07475a46f5e94feb4e28e5d1c6c3e (patch)
tree3bce0aebc12f076a73d18a03602fd0b696934a5d /pw_bloat
parent49a4f1ba5e96a1d3428454e714e37699392ba015 (diff)
downloadpigweed-1a5986c85cb07475a46f5e94feb4e28e5d1c6c3e.tar.gz
python: Change multiline typing imports
Change multiline imports of the typing module to reference individual types on individual lines. This should reduce conflicts. For now, leave multiple imports that fit on the same line alone. Change-Id: Iaf1c76a5f7dd8ec8d29368ba06b599de96ae4f4b Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/118390 Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com> Reviewed-by: Wyatt Hepler <hepler@google.com>
Diffstat (limited to 'pw_bloat')
-rw-r--r--pw_bloat/py/pw_bloat/label_output.py12
1 files changed, 10 insertions, 2 deletions
diff --git a/pw_bloat/py/pw_bloat/label_output.py b/pw_bloat/py/pw_bloat/label_output.py
index 1f56091fd..306c3b5c4 100644
--- a/pw_bloat/py/pw_bloat/label_output.py
+++ b/pw_bloat/py/pw_bloat/label_output.py
@@ -14,8 +14,16 @@
"""Module for size report ASCII tables from DataSourceMaps."""
import enum
-from typing import (Iterable, Tuple, Union, Type, List, Optional, NamedTuple,
- cast)
+from typing import (
+ Iterable,
+ Tuple,
+ Union,
+ Type,
+ List,
+ Optional,
+ NamedTuple,
+ cast,
+)
from pw_bloat.label import DataSourceMap, DiffDataSourceMap, Label