Skip to content

Conversation

@DimitriPapadopoulos
Copy link
Contributor

No description provided.

@DimitriPapadopoulos DimitriPapadopoulos force-pushed the ruff branch 2 times, most recently from 3923cbd to 010635e Compare March 2, 2025 15:17
@codecov
Copy link

codecov bot commented Mar 2, 2025

Codecov Report

Attention: Patch coverage is 87.50000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 69.37%. Comparing base (3927e5b) to head (a7249c3).
Report is 11 commits behind head on master.

Files with missing lines Patch % Lines
niworkflows/func/tests/test_util.py 0.00% 1 Missing ⚠️
niworkflows/interfaces/tests/test_itk.py 0.00% 1 Missing ⚠️
niworkflows/interfaces/workbench.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #930   +/-   ##
=======================================
  Coverage   69.37%   69.37%           
=======================================
  Files          86       86           
  Lines        8474     8474           
  Branches     1057     1057           
=======================================
  Hits         5879     5879           
  Misses       2373     2373           
  Partials      222      222           

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

Copy link
Member

@effigies effigies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. One line took a bit to understand, so I suggested a clearer rewrite.

G004 Logging statement uses f-string
RUF015 Prefer `next(...)` over single element slice
RUF021 Parenthesize `a and b` expressions when chaining `and` and `or` together, to make the precedence clear
RUF055 Plain string pattern passed to `re` function
F841 Local variable is assigned to but never used
PLE1205 Too many arguments for `logging` format string
PLW1508 Invalid type for environment variable default; expected `str` or `None`
DimitriPapadopoulos and others added 2 commits March 2, 2025 18:55
Co-authored-by: Chris Markiewicz <[email protected]>
@effigies effigies merged commit b55d82d into nipreps:master Mar 3, 2025
19 checks passed
@DimitriPapadopoulos DimitriPapadopoulos deleted the ruff branch March 3, 2025 08:00
effigies added a commit that referenced this pull request Mar 20, 2025
1.13.0 (March 20, 2025)

New feature release in the 1.13.x series.

This release restructures the ANTs brain extraction workflow.
This should be a backwards compatible change, but a minor release is used out of caution.

* FIX: Remove duplicated code, problematic deviation from antsBrainExtraction (#931)
* FIX: Listify numbers (#925)
* ENH: Allow + symbol in label entities (#926, #927)
* STY: Apply various ruff checks (#913, #915, #917, #918, #919, #930)
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.

2 participants