Skip to content

Conversation

RAAPPO
Copy link
Contributor

@RAAPPO RAAPPO commented Oct 1, 2025

Part of #62434

This PR enforces Ruff rule B905 (zip-without-explicit-strict) by adding explicit strict=True to all zip() calls in pandas/core/window.

  • Updated zip(start, end) to zip(start, end, strict=True)
  • Updated zip(*gb_pairs) to zip(*gb_pairs, strict=True)

Checklist:

I am a first-time contributor. Please let me know if any changes are needed!

@mroeschke mroeschke added the Code Style Code style, linting, code_checks label Oct 2, 2025
@mroeschke mroeschke added this to the 3.0 milestone Oct 2, 2025
@mroeschke mroeschke merged commit 2110ba6 into pandas-dev:main Oct 2, 2025
39 of 47 checks passed
@mroeschke
Copy link
Member

Thanks @RAAPPO

@RAAPPO RAAPPO deleted the enforce-ruff-b905-core-window branch October 2, 2025 16:41
eicchen pushed a commit to eicchen/pandas that referenced this pull request Oct 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Code Style Code style, linting, code_checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants