Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply ruff-specific rules (RUF) #434

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

DimitriPapadopoulos
Copy link
Contributor

specific

RUF015 Prefer `next(iter(reader()))` over single element slice
RUF021 Parenthesize `a and b` expressions when chaining `and` and `or` together, to make the precedence clear
RUF036 `None` not at the end of the type annotation.
RUF046 Value being cast to `int` is already an integer
Copy link

codecov bot commented Jan 25, 2025

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 85.45%. Comparing base (14f407f) to head (d94ee0b).

Files with missing lines Patch % Lines
ome_zarr/csv.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #434   +/-   ##
=======================================
  Coverage   85.45%   85.45%           
=======================================
  Files          13       13           
  Lines        1540     1540           
=======================================
  Hits         1316     1316           
  Misses        224      224           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

1 participant