@@ -131,7 +131,7 @@ class %(class_name)s(%(parent)s):
131131
132132 def __init__(self, *args, **kwargs):
133133 \" \" \" Initialisation of custom class variables for %(name)s.\" \" \"
134- super(%(class_name)s, self ).__init__(*args, **kwargs)
134+ super().__init__(*args, **kwargs)
135135
136136 self.example = None
137137
@@ -154,7 +154,7 @@ def configure_step(self):
154154 run_shell_cmd(cmd)
155155
156156 # complete configuration with configure_method of parent
157- super(%(class_name)s, self ).configure_step()
157+ super().configure_step()
158158
159159 def build_step(self):
160160 \" \" \" Custom build procedure for %(name)s.\" \" \"
@@ -191,12 +191,12 @@ def sanity_check_step(self):
191191 'dirs': ['dir1', 'dir2'],
192192 }
193193
194- super(%(class_name)s, self ).sanity_check_step(custom_paths=custom_paths)
194+ super().sanity_check_step(custom_paths=custom_paths)
195195
196196 def make_module_req_guess(self):
197197 \" \" \" Custom guesses for environment variables (PATH, ...) for %(name)s.\" \" \"
198198
199- guesses = super(%(class_name)s, self ).make_module_req_guess()
199+ guesses = super().make_module_req_guess()
200200
201201 guesses.update({
202202 'VARIABLE': ['value1', 'value2'],
@@ -207,7 +207,7 @@ def make_module_req_guess(self):
207207 def make_module_extra(self):
208208 \" \" \" Custom extra module file entries for %(name)s.\" \" \"
209209
210- txt = super(%(class_name)s, self ).make_module_extra()
210+ txt = super().make_module_extra()
211211
212212 txt += self.module_generator.set_environment("VARIABLE", 'value')
213213 txt += self.module_generator.prepend_paths("PATH_VAR", ['path1', 'path2'])
0 commit comments