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/refurb rules (FURB) #918

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

Conversation

DimitriPapadopoulos
Copy link
Contributor

No description provided.

FURB113 Use `.extend(...)` instead of repeatedly calling `.append()`
FURB118 Use `operator.add` instead of defining a function
FURB188 Prefer `removeprefix` over conditionally replacing with slice.
Copy link

codecov bot commented Dec 21, 2024

Codecov Report

Attention: Patch coverage is 20.00000% with 4 lines in your changes missing coverage. Please review.

Project coverage is 32.99%. Comparing base (d6d726e) to head (9024760).

Files with missing lines Patch % Lines
niworkflows/utils/tests/test_utils.py 0.00% 2 Missing ⚠️
niworkflows/reports/core.py 0.00% 1 Missing ⚠️
niworkflows/utils/bids.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master     #918       +/-   ##
===========================================
- Coverage   69.35%   32.99%   -36.37%     
===========================================
  Files          86       86               
  Lines        8472     8399       -73     
  Branches     1058      917      -141     
===========================================
- Hits         5876     2771     -3105     
- Misses       2373     5598     +3225     
+ Partials      223       30      -193     

☔ 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