From 2cec186653fa5e8b9909c7f8fa7c7a73f4a74abf Mon Sep 17 00:00:00 2001 From: "Christian Y. Brenninkmeijer" Date: Fri, 28 Jul 2023 12:43:09 +0100 Subject: [PATCH] flake8 --- spinnman/extended/de_alloc_sdram_process.py | 3 ++- spinnman/extended/extended_transceiver.py | 6 ++++-- spinnman/extended/write_memory_flood_process.py | 3 ++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/spinnman/extended/de_alloc_sdram_process.py b/spinnman/extended/de_alloc_sdram_process.py index 6b6d6d08d..916a2500d 100644 --- a/spinnman/extended/de_alloc_sdram_process.py +++ b/spinnman/extended/de_alloc_sdram_process.py @@ -14,7 +14,8 @@ # limitations under the License. from spinnman.messages.scp.impl import SDRAMDeAlloc -from spinnman.processes.abstract_multi_connection_process import AbstractMultiConnectionProcess +from spinnman.processes.abstract_multi_connection_process import ( + AbstractMultiConnectionProcess) class DeAllocSDRAMProcess(AbstractMultiConnectionProcess): diff --git a/spinnman/extended/extended_transceiver.py b/spinnman/extended/extended_transceiver.py index 82bb61577..b094160cf 100644 --- a/spinnman/extended/extended_transceiver.py +++ b/spinnman/extended/extended_transceiver.py @@ -14,6 +14,7 @@ # pylint: disable=too-many-arguments import io +import os import struct import logging import time @@ -150,7 +151,9 @@ def send_scp_message(self, message, connection=None): """ Sends an SCP message, without expecting a response. - :param AbstractSCPRequest message: The message to send + :param message: The message to send + :type message: + spinnman.messages.scp.abstract_messages.AbstractSCPRequest :param SCAMPConnection connection: The connection to use (omit to pick a random one) :raise SpinnmanTimeoutException: @@ -740,4 +743,3 @@ def get_heap(self, x, y, heap=SystemVariableDefinition.sdram_heap_address): except Exception: logger.info(self.__where_is_xy(x, y)) raise - diff --git a/spinnman/extended/write_memory_flood_process.py b/spinnman/extended/write_memory_flood_process.py index d84a8192d..4ef491bf7 100644 --- a/spinnman/extended/write_memory_flood_process.py +++ b/spinnman/extended/write_memory_flood_process.py @@ -15,7 +15,8 @@ import math from spinnman.messages.scp.impl import ( FloodFillEnd, FloodFillStart, FloodFillData) -from spinnman.processes.abstract_multi_connection_process import AbstractMultiConnectionProcess +from spinnman.processes.abstract_multi_connection_process import ( + AbstractMultiConnectionProcess) from spinnman.constants import UDP_MESSAGE_MAX_SIZE