diff options
author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2023-04-11 21:57:50 +0200 |
---|---|---|
committer | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2023-04-11 21:57:50 +0200 |
commit | f11446e1cfaf0ed4db2d43ec3b9b421de313b6ae (patch) | |
tree | 6e585de5fb76e9d9a2626bf97ce0851075e5ddfe | |
parent | 91c7a148b792d795d59bfc0569fca057b049cb61 (diff) | |
download | ghdl-f11446e1cfaf0ed4db2d43ec3b9b421de313b6ae.tar.gz ghdl-f11446e1cfaf0ed4db2d43ec3b9b421de313b6ae.tar.bz2 ghdl-f11446e1cfaf0ed4db2d43ec3b9b421de313b6ae.zip |
Formatting with black.
-rw-r--r-- | pyGHDL/dom/formatting/prettyprint.py | 4 |
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}") |