Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Jun 26, 2024
1 parent 9eee347 commit 41daf68
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions spalloc_client/protocol_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ def get_job_machine_info(self, job_id: int,
return self.call("get_job_machine_info", job_id, timeout=timeout)

def power_on_job_boards(self, job_id: int,
timeout: Optional[int] = None) -> JsonObject:
timeout: Optional[int] = None) -> JsonObject:
""" Turn on the power on the jobs baords. """
return self.call("power_on_job_boards", job_id, timeout=timeout)

Expand All @@ -411,12 +411,12 @@ def destroy_job(self, job_id: int, reason: Optional[str] = None,
return self.call("destroy_job", job_id, reason, timeout=timeout)

def notify_job(self, job_id: Optional[int] = None,
timeout: Optional[int]=None) -> JsonObject:
timeout: Optional[int] = None) -> JsonObject:
""" Turn on notification of job status changes. """
return self.call("notify_job", job_id, timeout=timeout)

def no_notify_job(self, job_id: Optional[int] = None,
timeout: Optional[int]=None) -> JsonObject:
timeout: Optional[int] = None) -> JsonObject:
""" Turn off notification of job status changes. """
return self.call("no_notify_job", job_id, timeout=timeout)

Expand Down Expand Up @@ -446,7 +446,8 @@ def get_board_position(self, machine_name: str, x: int, y: int, z: int,
timeout=timeout)

def get_board_at_position(self, machine_name: str, x: int, y: int, z: int,
timeout: Optional[int] = None) -> JsonObject: # pragma: no cover
timeout: Optional[int] = None
) -> JsonObject: # pragma: no cover
""" Gets the board x, y, z on the requested machine. """
# pylint: disable=too-many-arguments
return self.call("get_board_at_position", machine_name, x, y, z,
Expand Down

0 comments on commit 41daf68

Please sign in to comment.