Skip to content

chore: update ruff and fix new ruff issues#3739

Merged
d-v-b merged 7 commits intozarr-developers:mainfrom
DimitriPapadopoulos:bump_ruff
Mar 3, 2026
Merged

chore: update ruff and fix new ruff issues#3739
d-v-b merged 7 commits intozarr-developers:mainfrom
DimitriPapadopoulos:bump_ruff

Conversation

@DimitriPapadopoulos
Copy link
Copy Markdown
Contributor

Fixes CI errors in #3738.

TODO:

  • Add unit tests and/or doctests in docstrings
  • Add docstrings and API docs for any new/modified user-facing classes and functions
  • New/modified features documented in docs/user-guide/*.md
  • Changes documented as a new file in changes/
  • GitHub Actions have all passed
  • Test coverage is 100% (Codecov passes)

Class inherits from both `str` and `enum.Enum`
Replace ternary `if` expression with `or` operator
Membership test against single-item container
`__all__` contains duplicate entries
Use `itertools.starmap` instead of the generator
@github-actions github-actions bot added the needs release notes Automatically applied to PRs which haven't added release notes label Mar 2, 2026
@DimitriPapadopoulos DimitriPapadopoulos marked this pull request as ready for review March 2, 2026 20:21
@d-v-b d-v-b enabled auto-merge (squash) March 2, 2026 20:21
@d-v-b d-v-b disabled auto-merge March 2, 2026 20:24
Co-authored-by: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com>
@d-v-b d-v-b merged commit faec389 into zarr-developers:main Mar 3, 2026
25 checks passed
@DimitriPapadopoulos DimitriPapadopoulos deleted the bump_ruff branch March 3, 2026 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs release notes Automatically applied to PRs which haven't added release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants