Skip to content

DOC: Fix typos found by codespell #3512

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 21, 2022
Merged

Conversation

DimitriPapadopoulos
Copy link
Contributor

@DimitriPapadopoulos DimitriPapadopoulos commented Sep 21, 2022

Summary

Fix typos.

List of changes proposed in this PR (pull-request)

  • Fix the rest of the typos found by codespell.
  • Remove spaces at end of line.
  • Remove empty lines at end of file.
  • Run black on files that require it to pass tests.

@DimitriPapadopoulos DimitriPapadopoulos marked this pull request as ready for review September 21, 2022 07:30
@codecov
Copy link

codecov bot commented Sep 21, 2022

Codecov Report

Base: 65.25% // Head: 64.41% // Decreases project coverage by -0.84% ⚠️

Coverage data is based on head (326880d) compared to base (e5be008).
Patch coverage: 90.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3512      +/-   ##
==========================================
- Coverage   65.25%   64.41%   -0.85%     
==========================================
  Files         309      309              
  Lines       40873    40873              
  Branches     5380     5380              
==========================================
- Hits        26673    26329     -344     
- Misses      13126    13484     +358     
+ Partials     1074     1060      -14     
Flag Coverage Δ
unittests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
nipype/caching/memory.py 57.37% <ø> (ø)
nipype/interfaces/afni/base.py 64.06% <ø> (-5.47%) ⬇️
nipype/interfaces/afni/preprocess.py 81.00% <ø> (-0.55%) ⬇️
nipype/interfaces/c3.py 65.71% <ø> (ø)
nipype/interfaces/dcmstack.py 35.10% <ø> (ø)
nipype/interfaces/io.py 48.06% <ø> (-7.14%) ⬇️
nipype/interfaces/matlab.py 74.72% <ø> (-3.30%) ⬇️
nipype/interfaces/minc/minc.py 85.20% <ø> (ø)
nipype/interfaces/petpvc.py 54.71% <ø> (ø)
nipype/interfaces/semtools/brains/segmentation.py 100.00% <ø> (ø)
... and 50 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

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.

Overall looks good. I think we should revert the nipype/interfaces/fsl/model_templates/ directory.

@@ -1,3 +1,2 @@
# Mask real contrast/F-test $c1 with real contrast/F-test $c2?
set fmri(conmask${c1}_${c2}) 0

Copy link
Member

Choose a reason for hiding this comment

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

I think for template files, we should leave them alone. These are meant to be snippets to compile as inputs to tools, and I don't have an immediate plan to generate before/after files that would use all of these and decide whether the whitespace improved readability or possibly was significant.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have reverted nipype/interfaces/fsl/model_templates/*.

Remove:
- spaces at end of line,
- empty lines at end of file.
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.

LGTM!

@effigies effigies merged commit c634f29 into nipy:master Sep 21, 2022
@DimitriPapadopoulos DimitriPapadopoulos deleted the codespell branch September 21, 2022 16:24
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