diff --git a/litex/build/efinix/dbparser.py b/litex/build/efinix/dbparser.py index 6ee67850c..a600dff37 100644 --- a/litex/build/efinix/dbparser.py +++ b/litex/build/efinix/dbparser.py @@ -19,7 +19,7 @@ namespaces = { # Efinix Database Parser --------------------------------------------------------------------------- -class EfinixDbParser(): +class EfinixDbParser: def __init__(self, efinity_path, device): self.efinity_db_path = efinity_path + '/pt/db/' self.device = device diff --git a/litex/build/efinix/efinity.py b/litex/build/efinix/efinity.py index 1dc95ff9f..550da9c0a 100644 --- a/litex/build/efinix/efinity.py +++ b/litex/build/efinix/efinity.py @@ -230,7 +230,7 @@ def _build_xml(partnumber, timing_model, build_name, sources, additional_xml_com # Generate .xml tools.write_to_file("{}.xml".format(build_name), print_string) -class EfinityToolchain(): +class EfinityToolchain: attr_translate = {} def __init__(self, efinity_path): diff --git a/litex/build/efinix/ifacewriter.py b/litex/build/efinix/ifacewriter.py index 3760473bd..5755e0d3c 100644 --- a/litex/build/efinix/ifacewriter.py +++ b/litex/build/efinix/ifacewriter.py @@ -21,7 +21,7 @@ namespaces = { # Interface Writer -------------------------------------------------------------------------------- -class InterfaceWriter(): +class InterfaceWriter: def __init__(self, efinity_path): self.efinity_path = efinity_path self.blocks = []