From 90a08421ec6756e49e167d712c1290fe029a13a8 Mon Sep 17 00:00:00 2001 From: eine Date: Tue, 15 Sep 2020 04:39:49 +0200 Subject: py: run black --- python/libghdl/thin/vhdl/nodes.py | 3 +-- python/xtools/pnodespy.py | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'python') 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", -- cgit v1.2.3