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-comprehensions rules (C4) #3680

Closed DimitriPapadopoulos closed 1 month ago

DimitriPapadopoulos commented 2 months ago

Summary

Apply flake8-comprehensions (C4) rules, except:

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 43.24324% with 21 lines in your changes missing coverage. Please review.

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

Files with missing lines Patch % Lines
nipype/interfaces/diffusion_toolkit/odf.py 0.00% 6 Missing :warning:
nipype/interfaces/io.py 33.33% 3 Missing and 1 partial :warning:
nipype/interfaces/fsl/model.py 0.00% 3 Missing :warning:
nipype/interfaces/cmtk/cmtk.py 0.00% 2 Missing :warning:
nipype/interfaces/spm/model.py 0.00% 2 Missing :warning:
nipype/interfaces/ants/segmentation.py 0.00% 0 Missing and 1 partial :warning:
nipype/interfaces/diffusion_toolkit/dti.py 0.00% 1 Missing :warning:
nipype/interfaces/freesurfer/preprocess.py 0.00% 1 Missing :warning:
nipype/scripts/instance.py 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #3680 +/- ## ======================================= Coverage 70.86% 70.87% ======================================= Files 1276 1276 Lines 59229 59233 +4 Branches 9812 9796 -16 ======================================= + Hits 41975 41979 +4 - Misses 16079 16084 +5 + Partials 1175 1170 -5 ```

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