aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2023-04-11 21:57:50 +0200
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2023-04-11 21:57:50 +0200
commitf11446e1cfaf0ed4db2d43ec3b9b421de313b6ae (patch)
tree6e585de5fb76e9d9a2626bf97ce0851075e5ddfe
parent91c7a148b792d795d59bfc0569fca057b049cb61 (diff)
downloadghdl-f11446e1cfaf0ed4db2d43ec3b9b421de313b6ae.tar.gz
ghdl-f11446e1cfaf0ed4db2d43ec3b9b421de313b6ae.tar.bz2
ghdl-f11446e1cfaf0ed4db2d43ec3b9b421de313b6ae.zip
Formatting with black.
-rw-r--r--pyGHDL/dom/formatting/prettyprint.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pyGHDL/dom/formatting/prettyprint.py b/pyGHDL/dom/formatting/prettyprint.py
index 6f56dfb60..be1d2a511 100644
--- a/pyGHDL/dom/formatting/prettyprint.py
+++ b/pyGHDL/dom/formatting/prettyprint.py
@@ -144,7 +144,9 @@ class PrettyPrint:
buffer.append(f"{prefix} - {package.Identifier} instantiate from {package.PackageReference}")
buffer.append(f"{prefix}Entities ({len(library.Entities)}):")
for entity in library.Entities.values():
- buffer.append(f"{prefix} - {entity.Identifier}({', '.join([a.Identifier for a in entity.Architectures.values()])})")
+ buffer.append(
+ f"{prefix} - {entity.Identifier}({', '.join([a.Identifier for a in entity.Architectures.values()])})"
+ )
buffer.append(f"{prefix}Configurations ({len(library.Configurations)}):")
for configuration in library.Configurations.values():
buffer.append(f"{prefix} - {configuration.Identifier}")