aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/dom/NonStandard.py
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2022-11-28 00:39:29 +0100
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2022-11-30 23:32:47 +0100
commit30a8c57439520e6f043b5aaa5fde9ea5ca38e490 (patch)
treecafbf499a71f14a25763943e74c955db880e4e4b /pyGHDL/dom/NonStandard.py
parente6cc3aba4fec28d23df9fe974d92706d867c1668 (diff)
downloadghdl-30a8c57439520e6f043b5aaa5fde9ea5ca38e490.tar.gz
ghdl-30a8c57439520e6f043b5aaa5fde9ea5ca38e490.tar.bz2
ghdl-30a8c57439520e6f043b5aaa5fde9ea5ca38e490.zip
Formatted code with black.
Diffstat (limited to 'pyGHDL/dom/NonStandard.py')
-rw-r--r--pyGHDL/dom/NonStandard.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pyGHDL/dom/NonStandard.py b/pyGHDL/dom/NonStandard.py
index e6af8284a..c55786d54 100644
--- a/pyGHDL/dom/NonStandard.py
+++ b/pyGHDL/dom/NonStandard.py
@@ -191,7 +191,9 @@ class Document(VHDLModel_Document):
contextItems.append(ContextReference.parse(item))
else:
pos = Position.parse(item)
- raise DOMException(f"Unknown context item kind '{itemKind.name}' in context at line {pos.Line}.")
+ raise DOMException(
+ f"Unknown context item kind '{itemKind.name}' in context at line {pos.Line}."
+ )
if nodeKind == nodes.Iir_Kind.Entity_Declaration:
entity = Entity.parse(libraryUnit, contextItems)