nipy / nipype

Workflows and interfaces for neuroimaging packages
https://nipype.readthedocs.org/en/latest/
Other
751 stars 530 forks source link

STY: Apply ruff/flake8-bugbear rules (B) #3671

Closed DimitriPapadopoulos closed 1 month ago

DimitriPapadopoulos commented 2 months ago

Summary

Apply flake8-bugbear (B) rules, except:

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 36.66667% with 19 lines in your changes missing coverage. Please review.

Project coverage is 70.87%. Comparing base (c5fa777) to head (fdab8ef). Report is 24 commits behind head on master.

Files with missing lines Patch % Lines
nipype/interfaces/spm/model.py 0.00% 6 Missing :warning:
nipype/interfaces/elastix/utils.py 0.00% 4 Missing :warning:
nipype/interfaces/fsl/utils.py 33.33% 4 Missing :warning:
nipype/interfaces/afni/utils.py 0.00% 2 Missing :warning:
nipype/interfaces/ants/utils.py 0.00% 1 Missing :warning:
nipype/interfaces/utility/wrappers.py 50.00% 0 Missing and 1 partial :warning:
nipype/utils/provenance.py 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #3671 +/- ## ======================================= Coverage 70.86% 70.87% ======================================= Files 1276 1276 Lines 59229 59238 +9 Branches 9812 9812 ======================================= + Hits 41975 41984 +9 Misses 16079 16079 Partials 1175 1175 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.