Skip to content

Commit c929ccf

Browse files
committed
!squash fix(waiter): add strict=True to zip() calls
why: Fixes B905 ruff error requiring explicit strict= parameter what: - Add strict=True to zip() in wait_for_any_content - Add strict=True to zip() in wait_for_all_content
1 parent 44c3068 commit c929ccf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libtmux/_internal/waiter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1288,7 +1288,7 @@ def check_any_content() -> bool:
12881288
result.content = content
12891289

12901290
for i, (pattern, match_type) in enumerate(
1291-
zip(content_patterns, match_types),
1291+
zip(content_patterns, match_types, strict=True),
12921292
):
12931293
# Handle predicate match
12941294
if match_type == ContentMatchType.PREDICATE:
@@ -1513,7 +1513,7 @@ def check_all_content() -> bool:
15131513
matched_patterns.clear()
15141514

15151515
for i, (pattern, match_type) in enumerate(
1516-
zip(content_patterns, match_types),
1516+
zip(content_patterns, match_types, strict=True),
15171517
):
15181518
# Handle predicate match
15191519
if match_type == ContentMatchType.PREDICATE:

0 commit comments

Comments
 (0)