Skip to content

Commit

Permalink
return None
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Dec 16, 2024
1 parent febae7e commit 4192785
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions spinn_gym/games/breakout/breakout_machine_vertex.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ def app_vertex(self) -> 'Breakout':
# AbstractGeneratesDataSpecification overrides
# ------------------------------------------------------------------------
@overrides(AbstractGeneratesDataSpecification.generate_data_specification)
def generate_data_specification(
self, spec: DataSpecificationGenerator, placement: Placement):
def generate_data_specification(self, spec: DataSpecificationGenerator,
placement: Placement) -> None:
# pylint: disable=arguments-differ
vertex = placement.vertex

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ def __init__(
# AbstractGeneratesDataSpecification overrides
# ------------------------------------------------------------------------
@overrides(SpinnGymMachineVertex.generate_data_specification)
def generate_data_specification(
self, spec: DataSpecificationGenerator, placement: Placement):
def generate_data_specification(self, spec: DataSpecificationGenerator,
placement: Placement) -> None:
# pylint: disable=arguments-differ
vertex = placement.vertex

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ def __init__(self, label, app_vertex, n_neurons,
# AbstractGeneratesDataSpecification overrides
# ------------------------------------------------------------------------
@overrides(AbstractGeneratesDataSpecification.generate_data_specification)
def generate_data_specification(
self, spec: DataSpecificationGenerator, placement: Placement):
def generate_data_specification(self, spec: DataSpecificationGenerator,
placement: Placement) -> None:
# pylint: disable=arguments-differ
vertex = placement.vertex

Expand Down
4 changes: 2 additions & 2 deletions spinn_gym/games/logic/logic_machine_vertex.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ def __init__(self, label, app_vertex, n_neurons,
# AbstractGeneratesDataSpecification overrides
# ------------------------------------------------------------------------
@overrides(AbstractGeneratesDataSpecification.generate_data_specification)
def generate_data_specification(
self, spec: DataSpecificationGenerator, placement: Placement):
def generate_data_specification(self, spec: DataSpecificationGenerator,
placement: Placement) -> None:
# pylint: disable=arguments-differ
vertex = placement.vertex

Expand Down
4 changes: 2 additions & 2 deletions spinn_gym/games/multi_arm_bandit/bandit_machine_vertex.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ def __init__(self, label, app_vertex, n_neurons, simulation_duration_ms,
# AbstractGeneratesDataSpecification overrides
# ------------------------------------------------------------------------
@overrides(AbstractGeneratesDataSpecification.generate_data_specification)
def generate_data_specification(
self, spec: DataSpecificationGenerator, placement: Placement):
def generate_data_specification(self, spec: DataSpecificationGenerator,
placement: Placement) -> None:
# pylint: disable=arguments-differ
vertex = placement.vertex

Expand Down
4 changes: 2 additions & 2 deletions spinn_gym/games/store_recall/store_recall_machine_vertex.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ def __init__(self, label, app_vertex, n_neurons,
# AbstractGeneratesDataSpecification overrides
# ------------------------------------------------------------------------
@overrides(AbstractGeneratesDataSpecification.generate_data_specification)
def generate_data_specification(
self, spec: DataSpecificationGenerator, placement: Placement):
def generate_data_specification(self, spec: DataSpecificationGenerator,
placement: Placement) -> None:
# pylint: disable=arguments-differ
vertex = placement.vertex

Expand Down

0 comments on commit 4192785

Please sign in to comment.