diff --git a/gfe_examples/live_io/live_io.py b/gfe_examples/live_io/live_io.py index 6bdbc411..1ec45f39 100644 --- a/gfe_examples/live_io/live_io.py +++ b/gfe_examples/live_io/live_io.py @@ -48,7 +48,7 @@ def start_sending(label, c): def end_sim(label, c): - # pylint: disable=unused-argument + # pylint: disable=unused-argument,global-statement global running running = False diff --git a/spinnaker_graph_front_end/__init__.py b/spinnaker_graph_front_end/__init__.py index eb3362bf..9542e3ca 100644 --- a/spinnaker_graph_front_end/__init__.py +++ b/spinnaker_graph_front_end/__init__.py @@ -113,6 +113,7 @@ def setup(model_binary_module=None, :raise ~spinn_front_end_common.utilities.exceptions.ConfigurationException: if mutually exclusive options are given. """ + # pylint: disable=global-statement global __simulator # pylint: disable=redefined-outer-name logger.info( @@ -223,6 +224,7 @@ def add_machine_vertex_instance(machine_vertex): app_vertex = AbstractOneAppOneMachineVertex( machine_vertex, machine_vertex.label) FecDataView.add_vertex(app_vertex) + # pylint: disable=protected-access machine_vertex._app_vertex = app_vertex