From f1fd5da2c4e5d3b09a5f570feb02c80f840c3773 Mon Sep 17 00:00:00 2001 From: "Christian Y. Brenninkmeijer" Date: Mon, 4 Dec 2023 13:08:46 +0000 Subject: [PATCH] flake8 --- spinn_utilities/ranged/slice_view.py | 4 ++-- spinn_utilities/see.py | 2 +- unittests/abstract_base/abstract_has_constraints.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/spinn_utilities/ranged/slice_view.py b/spinn_utilities/ranged/slice_view.py index 18a6e385..5051ff4a 100644 --- a/spinn_utilities/ranged/slice_view.py +++ b/spinn_utilities/ranged/slice_view.py @@ -93,8 +93,8 @@ def iter_all_values(self, key: _Keys = None, update_safe: bool = False): update_safe=update_safe) @overrides(AbstractDict.set_value) - def set_value( - self, key: str, value: _ValueType, use_list_as_value: bool = False): + def set_value(self, key: str, value: _ValueType, + use_list_as_value: bool = False): self._range_dict.get_list(key).set_value_by_slice( slice_start=self._start, slice_stop=self._stop, value=value, use_list_as_value=use_list_as_value) diff --git a/spinn_utilities/see.py b/spinn_utilities/see.py index 5f18660b..e70246bf 100644 --- a/spinn_utilities/see.py +++ b/spinn_utilities/see.py @@ -57,4 +57,4 @@ def __init__( def _verify_types(self, method_args, super_args, all_args): # dont check types for see - pass \ No newline at end of file + pass diff --git a/unittests/abstract_base/abstract_has_constraints.py b/unittests/abstract_base/abstract_has_constraints.py index d67ed6de..1c422966 100644 --- a/unittests/abstract_base/abstract_has_constraints.py +++ b/unittests/abstract_base/abstract_has_constraints.py @@ -14,7 +14,7 @@ from typing import Any from spinn_utilities.abstract_base import ( - AbstractBase, abstractproperty, abstractmethod) + AbstractBase, abstractmethod) class AbstractHasConstraints(object, metaclass=AbstractBase):