Skip to content

Commit 1717c15

Browse files
committed
lint
1 parent eaa1528 commit 1717c15

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

streamable/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
from streamable.stream import Stream
2-
from streamable.util.functiontools import star
3-
from streamable.util.functiontools import running
2+
from streamable.util.functiontools import running, star

streamable/util/functiontools.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,10 @@ def running(func: Callable[[R, T], R], initial: R) -> Callable[[T], R]:
118118
TODO
119119
"""
120120
acc = initial
121+
121122
def _(elem: T) -> R:
122123
nonlocal acc
123124
acc = func(acc, elem)
124125
return acc
125-
return _
126126

127+
return _

0 commit comments

Comments
 (0)