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

STY: Apply ruff rules (RUF) #919

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

Conversation

DimitriPapadopoulos
Copy link
Contributor

No description provided.

RUF010 Use explicit conversion flag
RUF013 PEP 484 prohibits implicit `Optional`
RUF021 Parenthesize `a and b` expressions when chaining `and` and `or` together, to make the precedence clear
RUF022 `__all__` is not sorted
RUF023 `.__slots__` is not sorted
RUF027 Possible f-string without an `f` prefix
RUF039 First argument to `re.search()` is not raw string
Copy link

codecov bot commented Dec 21, 2024

Codecov Report

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

Project coverage is 69.36%. Comparing base (d6d726e) to head (fd2b27d).

Files with missing lines Patch % Lines
niworkflows/engine/plugin.py 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #919   +/-   ##
=======================================
  Coverage   69.35%   69.36%           
=======================================
  Files          86       86           
  Lines        8472     8473    +1     
  Branches     1058     1058           
=======================================
+ Hits         5876     5877    +1     
  Misses       2373     2373           
  Partials      223      223           

☔ 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