Skip to content

Commit

Permalink
update iter.py, requirements-dev.lock and requirements.lock
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBernstorff committed Feb 19, 2024
1 parent 905158d commit 62a233b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iterpy/iter.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def pmap(
with multiprocessing.Pool() as pool:
return Iter(pool.map(func, self._iterator))

def filter(self, func: Callable[[T], bool]) -> Iter[T]:
def filter(self, func: Callable[[T], bool]) -> Iter[T]: # noqa: A003
return Iter(filter(func, self._iterator)) # type: ignore

def groupby(
Expand Down

0 comments on commit 62a233b

Please sign in to comment.