aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authoreine <eine@users.noreply.github.com>2020-09-15 04:39:49 +0200
committereine <eine@users.noreply.github.com>2020-09-15 04:39:49 +0200
commit90a08421ec6756e49e167d712c1290fe029a13a8 (patch)
tree137aa409597237c6b154bee0e2c33e78ccedb3ad /python
parent8cfff809237f61e1651842def11d69af2d86a917 (diff)
downloadghdl-90a08421ec6756e49e167d712c1290fe029a13a8.tar.gz
ghdl-90a08421ec6756e49e167d712c1290fe029a13a8.tar.bz2
ghdl-90a08421ec6756e49e167d712c1290fe029a13a8.zip
py: run black
Diffstat (limited to 'python')
-rw-r--r--python/libghdl/thin/vhdl/nodes.py3
-rwxr-xr-xpython/xtools/pnodespy.py3
2 files changed, 2 insertions, 4 deletions
diff --git a/python/libghdl/thin/vhdl/nodes.py b/python/libghdl/thin/vhdl/nodes.py
index a675e0ce3..4509627ca 100644
--- a/python/libghdl/thin/vhdl/nodes.py
+++ b/python/libghdl/thin/vhdl/nodes.py
@@ -10,7 +10,6 @@ Iir_Flist_Others = 1
Iir_Flist_All = 2
-
class Iir_Kind:
Unused = 0
Error = 1
@@ -1028,7 +1027,6 @@ class Iir_Kinds:
]
-
class Iir_Mode:
Unknown_Mode = 0
Linkage_Mode = 1
@@ -1702,6 +1700,7 @@ class Iir_Predefined:
Ieee_Std_Logic_Misc_Xnor_Reduce_Slv = 635
Ieee_Std_Logic_Misc_Xnor_Reduce_Suv = 636
+
Get_Kind = libghdl.vhdl__nodes__get_kind
Get_Location = libghdl.vhdl__nodes__get_location
diff --git a/python/xtools/pnodespy.py b/python/xtools/pnodespy.py
index 65a956ca0..0e0f5ba9e 100755
--- a/python/xtools/pnodespy.py
+++ b/python/xtools/pnodespy.py
@@ -237,8 +237,7 @@ def do_libghdl_tokens():
def do_libghdl_errorout():
print("from libghdl import libghdl")
- print("\n"
- "Enable_Warning = libghdl.errorout__enable_warning")
+ print("\n" "Enable_Warning = libghdl.errorout__enable_warning")
read_enum(
"../errorout.ads",
"Msgid_Type",