Remi-Gau / nilearn

Machine learning for NeuroImaging in Python
http://nilearn.github.io
Other
1 stars 1 forks source link

black interface (Sourcery refactored) #37

Closed sourcery-ai[bot] closed 1 year ago

sourcery-ai[bot] commented 1 year ago

Pull Request #34 refactored by Sourcery.

If you're happy with these changes, merge this Pull Request using the Squash and merge strategy.

NOTE: As code is pushed to the original Pull Request, Sourcery will re-run and update (force-push) this Pull Request with new refactorings as necessary. If Sourcery finds no refactorings at any point, this Pull Request will be closed automatically.

See our documentation here.

Run Sourcery locally

Reduce the feedback loop during development by using the Sourcery editor plugin:

Review changes via command line

To manually merge these changes, make sure you're on the black_interfaces branch, then run:

git fetch origin sourcery/black_interfaces
git merge --ff-only FETCH_HEAD
git reset HEAD^

Help us improve this pull request!

github-actions[bot] commented 1 year ago

👋 @sourcery-ai[bot] Thanks for creating a PR!

Until this PR is ready for review, you can include the [WIP] tag in its title, or leave it as a github draft.

Please make sure it is compliant with our contributing guidelines. In particular, be sure it checks the boxes listed below.

For new features:

For bug fixes:

We will review it as quick as possible, feel free to ping us with questions if needed.

codecov-commenter commented 1 year ago

Codecov Report

Merging #37 (77402c9) into black_interfaces (2a83bbf) will decrease coverage by 0.01%. The diff coverage is 100.00%.

@@                 Coverage Diff                  @@
##           black_interfaces      #37      +/-   ##
====================================================
- Coverage             91.45%   91.44%   -0.01%     
====================================================
  Files                   133      133              
  Lines                 15557    15549       -8     
  Branches               3229     3226       -3     
====================================================
- Hits                  14227    14219       -8     
  Misses                  784      784              
  Partials                546      546              
Impacted Files Coverage Δ
nilearn/interfaces/bids/query.py 96.87% <100.00%> (-0.14%) :arrow_down:
nilearn/interfaces/fmriprep/load_confounds.py 100.00% <100.00%> (ø)
...n/interfaces/fmriprep/load_confounds_components.py 100.00% <100.00%> (ø)
...ilearn/interfaces/fmriprep/load_confounds_utils.py 100.00% <100.00%> (ø)