Skip to content

Conversation

effigies
Copy link
Member

These are mostly self-contained pieces that allow us to transparently handle edge cases. So annotating them is relatively free of rabbit holes and should help avoid unnoticed Anys as we annotate portions of the code that they do wrap.

@effigies effigies requested a review from ZviBaratz January 29, 2023 16:59
@codecov
Copy link

codecov bot commented Jan 29, 2023

Codecov Report

Base: 92.15% // Head: 92.16% // Increases project coverage by +0.01% 🎉

Coverage data is based on head (4a676c5) compared to base (aa0bfff).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1188      +/-   ##
==========================================
+ Coverage   92.15%   92.16%   +0.01%     
==========================================
  Files          97       97              
  Lines       12312    12330      +18     
  Branches     2532     2534       +2     
==========================================
+ Hits        11346    11364      +18     
  Misses        645      645              
  Partials      321      321              
Impacted Files Coverage Δ
nibabel/deprecated.py 100.00% <100.00%> (ø)
nibabel/deprecator.py 100.00% <100.00%> (ø)
nibabel/onetime.py 92.85% <100.00%> (+2.38%) ⬆️
nibabel/optpkg.py 97.36% <100.00%> (+0.30%) ⬆️
nibabel/pkg_info.py 66.66% <100.00%> (ø)
nibabel/processing.py 100.00% <100.00%> (ø)
nibabel/testing/helpers.py 100.00% <100.00%> (ø)
nibabel/tripwire.py 100.00% <100.00%> (ø)

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.

@effigies effigies force-pushed the type/internal_tools branch from 77f3deb to 7b3195d Compare January 29, 2023 17:15
Refactor _check_pkg_version to make types clearer. Partial application
and lambdas seem hard to mypy.
@effigies effigies force-pushed the type/internal_tools branch from 7b3195d to 62a95f6 Compare January 29, 2023 17:23
@effigies effigies force-pushed the type/internal_tools branch from 47978a2 to 4a676c5 Compare January 30, 2023 16:03
@effigies effigies merged commit 3fabc03 into nipy:master Jan 30, 2023
@effigies effigies deleted the type/internal_tools branch February 21, 2023 14:17
@effigies effigies added this to the 5.1.0 milestone Mar 29, 2023
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