Fix code formatting Signed-off-by: Karol Gugala <kgugala@antmicro.com>
diff --git a/v2x/vlog_to_pbtype.py b/v2x/vlog_to_pbtype.py index f88a43c..f1f54b4 100755 --- a/v2x/vlog_to_pbtype.py +++ b/v2x/vlog_to_pbtype.py
@@ -460,7 +460,7 @@ assert expected_item == sl[ i], "index {} expected: {} != actual: {}\n{}".format( i, expected_item, sl[i], sl - ) + ) return list_name, len(l) @@ -639,7 +639,7 @@ assert iodir == "output", \ "Only output ports can have T_clock_to_Q timing \ definition. Port {}, direction {}.".format( - port, iodir) + port, iodir) attrs["max"] = splitspec[1] else: assert iodir == "input", \ @@ -842,8 +842,8 @@ pb_type_xml = make_pb_type(infiles, outfile, yj, tmod) return ET.tostring( - pb_type_xml, - pretty_print=True, - encoding="utf-8", - xml_declaration=True - ).decode('utf-8') + pb_type_xml, + pretty_print=True, + encoding="utf-8", + xml_declaration=True + ).decode('utf-8')