Skip to content

Commit

Permalink
Apply new black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jgosmann committed Oct 3, 2020
1 parent 31c7c3e commit bd765b9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 1 addition & 2 deletions nengo_spa/connectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,7 @@ def fixed(self):
return isinstance(self.source, Fixed)

def transform(self):
"""For a fixed source, returns the transform to implement the output.
"""
"""For a fixed source, returns the transform to implement the output."""
assert self.fixed
if self.type == TScalar:
return self.source.evaluate()
Expand Down
2 changes: 1 addition & 1 deletion nengo_spa/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def declare_input(self, obj, vocab):
return input_vocab_registry.declare_connector(obj, vocab)

def declare_output(self, obj, vocab):
""" Declares a network output.
"""Declares a network output.
Parameters
----------
Expand Down
6 changes: 5 additions & 1 deletion nengo_spa/tests/test_connectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@


@pytest.mark.parametrize(
"construct_obj", (lambda: nengo.Node([1.0, 2.0]), lambda: [None],)
"construct_obj",
(
lambda: nengo.Node([1.0, 2.0]),
lambda: [None],
),
)
def test_as_ast_node_error(construct_obj):
with spa.Network():
Expand Down

0 comments on commit bd765b9

Please sign in to comment.