Skip to content

Conversation

@zorexsalvo
Copy link

@zorexsalvo zorexsalvo commented Oct 26, 2025

@zorexsalvo zorexsalvo force-pushed the fix/rule_B905_tests-window branch 2 times, most recently from 654e2c2 to 20f9d14 Compare October 26, 2025 05:23
@zorexsalvo zorexsalvo force-pushed the fix/rule_B905_tests-window branch from 20f9d14 to b8a0fc9 Compare October 26, 2025 05:37
@zorexsalvo zorexsalvo marked this pull request as ready for review October 26, 2025 06:18
@zorexsalvo zorexsalvo force-pushed the fix/rule_B905_tests-window branch from 2270859 to 8dcd766 Compare October 28, 2025 08:32
@zorexsalvo zorexsalvo requested a review from mroeschke October 28, 2025 08:34
@zorexsalvo zorexsalvo force-pushed the fix/rule_B905_tests-window branch from 8dcd766 to a7be4e2 Compare October 28, 2025 08:46
expecteds = [DataFrame(values, index=index) for (values, index) in expected]

for expected, actual in zip(expecteds, df.expanding(min_periods)):
for expected, actual in zip(expecteds, df.expanding(min_periods), strict=False):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this False?


for expected, actual in zip(expecteds, df.rolling(window, min_periods=min_periods)):
for expected, actual in zip(
expecteds, df.rolling(window, min_periods=min_periods), strict=False
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this False?

DataFrame(values, index=df.loc[index, "C"]) for (values, index) in expected
]
for expected, actual in zip(expecteds, df.rolling(window, on="C")):
for expected, actual in zip(expecteds, df.rolling(window, on="C"), strict=False):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this False?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

STY: Enforce Ruff rule B905, zip-without-explicit-strict

2 participants