Skip to content

Conversation

pjonsson
Copy link
Contributor

@pjonsson pjonsson commented Sep 2, 2025

Reason for this pull request

Check basis first and return early,
and then do the other things. This
makes it clear to MyPy that
the measurements are the right type.

This required a trickle of updated type
signatures elsewhere, so follow
that through.

Proposed changes

  • Closes #xxxx

  • Tests added / passed

  • Pull Request Title will make sense in ODC Release Notes


📚 Documentation preview 📚: https://opendatacube--2158.org.readthedocs.build/en/2158/

Copy link

codecov bot commented Sep 2, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.40%. Comparing base (b0dd58f) to head (2f812f9).
⚠️ Report is 3 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2158   +/-   ##
========================================
  Coverage    86.39%   86.40%           
========================================
  Files          151      151           
  Lines        16382    16379    -3     
========================================
- Hits         14153    14152    -1     
+ Misses        2229     2227    -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

This function yields, so use
Generator.
Check basis first and return early,
and then do the other things. This
makes it clear to MyPy that
the measurements are the right type.

This required a trickle of updated type
signatures elsewhere, so follow
that through.
@pjonsson pjonsson force-pushed the testutils-type-fixes branch from 8b02b97 to 2f812f9 Compare September 3, 2025 07:45
@Ariana-B Ariana-B merged commit 08a0c09 into opendatacube:develop Sep 5, 2025
21 checks passed
@pjonsson pjonsson deleted the testutils-type-fixes branch September 5, 2025 07:06
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