Skip to content

Enable ruff B905 and require explicit zip strictness - #511

Merged
gmartinon-ed merged 2 commits into
mainfrom
chore/enable-b905-zip-strict
Nov 3, 2026
Merged

gmartinon-ed merged 2 commits into
mainfrom
chore/enable-b905-zip-strict

Conversation

@gmartinon-ed

Copy link
Copy Markdown
Collaborator

Description

Enables ruff rule B905 in pyproject.toml and adds strict=True to every zip() call it flagged (library, unit tests and tutorial / deep-dive notebooks). Adds a "Zip Strictness" guideline to CLAUDE.md.

Handles #509

Checklist

Quality gates that must be satisfied before requesting a review:

  • I have read CONTRIBUTING.md
  • make lint passes
  • make type-check passes
  • make tests passes
  • make coverage reports 100% coverage
  • make test-notebooks passes
  • New public API has numpy-style docstrings
  • New public API is inserted in the API reference section of the documentation
  • Docs build without warnings (make doc)
  • CHANGELOG.md updated if the change is user-facing

LLM usage

Disclose if an LLM was used in writing this PR:

  • No LLM used
  • I used an LLM and I went through and validated all the code myself

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@gmartinon-ed gmartinon-ed added refactoring Improve structure with no functional change repository Change in the repository files (CI, markdowns, etc.) labels Nov 2, 2026
@gmartinon-ed
gmartinon-ed requested a review from imerad November 2, 2026 20:49
@codecov

codecov Bot commented Nov 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@gmartinon-ed
gmartinon-ed merged commit b83cd5a into main Nov 3, 2026
4 of 5 checks passed
@gmartinon-ed
gmartinon-ed deleted the chore/enable-b905-zip-strict branch November 3, 2026 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactoring Improve structure with no functional change repository Change in the repository files (CI, markdowns, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants