Follow Python Style Guide
PEP 8 -- Style Guide for Python Code
Indentation
Use 4 spaces per indentation level.
...
Method Names and Instance Variables
Use the function naming rules: lowercase with words separated by underscores as necessary to improve readability.
Actual code with five spaces of indentation (here launcher/cluster/cluster.py
):
class Cluster:
# snip
def ScheduleJob(self, name, walltime, n_procs, n_nodes, cmd,
def CheckJobState(self, job_id):
def KillJob(self, job_id):
def GetLoad(self):
def CleanUp(self, runner_executable):
Edited by Christoph Conrads