From f11446e1cfaf0ed4db2d43ec3b9b421de313b6ae Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Tue, 11 Apr 2023 21:57:50 +0200 Subject: Formatting with black. --- pyGHDL/dom/formatting/prettyprint.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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}") -- cgit v1.2.3