Skip to content

Commit

Permalink
refactor: pre-commit.ci auto fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jan 22, 2024
1 parent f1a0828 commit d8c0019
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/querpyable/querpyable.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def __init__(self, count: int) -> None:
self.count = count

def __call__(self, source: Generator[T, None, None]) -> Generator[T, None, None]:
return (item for _, item in zip(range(self.count), source))
return (item for _, item in zip(range(self.count), source, strict=False))


class Skip(Query):
Expand Down Expand Up @@ -173,7 +173,7 @@ def __call__(
source1: Generator[T, None, None],
source2: Generator[U, None, None],
) -> Generator[tuple[T, U], None, None]:
return zip(source1, source2)
return zip(source1, source2, strict=False)


class All(Query):
Expand Down

0 comments on commit d8c0019

Please sign in to comment.