Commit bd26ae10 authored by Paul Gierz's avatar Paul Gierz

small formatting change. black for 120 lines now

parent 23557eb5
...@@ -48,9 +48,7 @@ def yaml_file_to_dict(filepath): ...@@ -48,9 +48,7 @@ def yaml_file_to_dict(filepath):
error.errno, error.errno,
filepath + extension, filepath + extension,
) )
raise FileNotFoundError( raise FileNotFoundError("All file extensions tried and none worked for %s" % filepath)
"All file extensions tried and none worked for %s" % filepath
)
@click.group() @click.group()
......
...@@ -9,18 +9,13 @@ class SimObj(object): ...@@ -9,18 +9,13 @@ class SimObj(object):
NAME = "Generic Sim Object" NAME = "Generic Sim Object"
def after_run(self): def after_run(self):
print( print("This hook could be run after a supercompter job is finished for ", self.NAME)
"This hook could be run after a supercompter job is finished for ",
self.NAME,
)
def before_recieve(self): def before_recieve(self):
print("This hook could be run recieving information into the generic layer!") print("This hook could be run recieving information into the generic layer!")
def before_send(self): def before_send(self):
print( print("This hook could be run before sending information into the generic layer!")
"This hook could be run before sending information into the generic layer!"
)
def send(self): def send(self):
raise NotImplementedError("You haven't overriden the send method, sorry!") raise NotImplementedError("You haven't overriden the send method, sorry!")
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment