Skip to content

Commit

Permalink
more flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Jan 20, 2025
1 parent 0094900 commit 86237b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions spynnaker/pyNN/models/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,9 @@ def __fill_in_defaults(cls):
default_args = ([] if init_args.args is None else
init_args.args[n_args - n_defaults:])
if init_args.defaults is None:
default_values = []
default_values = []
else:
default_values = init_args.defaults
default_values = init_args.defaults

# get the keys based on the decorators
if hasattr(init, "_parameters"):
Expand Down
1 change: 0 additions & 1 deletion unittests/model_tests/neuron/test_defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from spinn_utilities.abstract_base import AbstractBase, abstractmethod
from spynnaker.pyNN.config_setup import unittest_setup
from spynnaker.pyNN.models.defaults import (
AbstractProvidesDefaults, default_parameters, default_initial_values)
Expand Down

0 comments on commit 86237b9

Please sign in to comment.