Remi-Gau / nilearn

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

black interface (Sourcery refactored) #36

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 #36 (1fce87d) into black_interfaces (679dedb) will decrease coverage by 0.08%. The diff coverage is 100.00%.

@@                 Coverage Diff                  @@
##           black_interfaces      #36      +/-   ##
====================================================
- Coverage             91.52%   91.44%   -0.08%     
====================================================
  Files                   133      133              
  Lines                 15557    15549       -8     
  Branches               3229     3226       -3     
====================================================
- Hits                  14238    14219      -19     
- Misses                  772      784      +12     
+ Partials                547      546       -1     
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%> (ø)

... and 5 files with indirect coverage changes