Skip to content

Commit

Permalink
Merge pull request #96 from SpiNNakerManchester/UnusedVariable
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B authored May 2, 2024
2 parents 80f7f50 + 7ee48ae commit d147e4c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion spalloc_client/scripts/machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def get_and_display_machine_info(self, client, args, t):
else:
show_machine(t, machines, jobs, args.machine, not args.detailed)

def get_parser(self, cfg): # @UnusedVariable
def get_parser(self, cfg):
parser = argparse.ArgumentParser(
description="Get the state of individual machines.")
parser.add_argument(
Expand Down
2 changes: 1 addition & 1 deletion spalloc_client/scripts/ps.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def render_job_list(t, jobs, args):


class ProcessListScript(Script):
def get_parser(self, cfg): # @UnusedVariable
def get_parser(self, cfg):
parser = argparse.ArgumentParser(description="List all active jobs.")
parser.add_argument(
"--version", "-V", action="version", version=__version__)
Expand Down
4 changes: 2 additions & 2 deletions spalloc_client/scripts/where_is.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def __init__(self):
self.where_is_kwargs = None
self.show_board_chip = None

def get_parser(self, cfg): # @UnusedVariable
def get_parser(self, cfg):
parser = argparse.ArgumentParser(
description="Find out the location (physical or logical) of a "
"chip or board.")
Expand Down Expand Up @@ -144,7 +144,7 @@ def verify_arguments(self, args):
except ValueError as e:
self.parser.error("Error: {}".format(e))

def body(self, client, args): # @UnusedVariable
def body(self, client, args):
# Ask the server
location = client.where_is(**self.where_is_kwargs)
if location is None:
Expand Down

0 comments on commit d147e4c

Please sign in to comment.