Skip to content
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

Type code in src/ert/resources #9502

Merged
merged 1 commit into from
Dec 13, 2024
Merged

Type code in src/ert/resources #9502

merged 1 commit into from
Dec 13, 2024

Conversation

berland
Copy link
Contributor

@berland berland commented Dec 10, 2024

Skipping eclrun/flow as it will be dealt with in another PR.

  • PR title captures the intent of the changes, and is fitting for release notes.
  • Added appropriate release note label
  • Commit history is consistent and clean, in line with the contribution guidelines.
  • Make sure unit tests pass locally after every commit (git rebase -i main --exec 'pytest tests/ert/unit_tests -n logical -m "not integration_test"')

When applicable

  • When there are user facing changes: Updated documentation
  • New behavior or changes to existing untested code: Ensured that unit tests are added (See Ground Rules).
  • Large PR: Prepare changes in small commits for more convenient review
  • Bug fix: Add regression test for the bug
  • Bug fix: Create Backport PR to latest release

Skipping eclrun/flow as it will be dealt with in another PR.
@berland berland self-assigned this Dec 10, 2024
@berland berland added the release-notes:skip If there should be no mention of this in release notes label Dec 10, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.94%. Comparing base (82972b0) to head (d99ffc3).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9502      +/-   ##
==========================================
+ Coverage   91.92%   91.94%   +0.02%     
==========================================
  Files         433      433              
  Lines       26734    26734              
==========================================
+ Hits        24575    24581       +6     
+ Misses       2159     2153       -6     
Flag Coverage Δ
cli-tests 39.37% <ø> (ø)
everest-models-test 34.70% <ø> (+0.01%) ⬆️
gui-tests 72.14% <ø> (ø)
integration-test 36.94% <ø> (ø)
performance-tests 51.94% <ø> (+0.09%) ⬆️
test 40.61% <ø> (-0.03%) ⬇️
unit-tests 74.13% <ø> (+0.02%) ⬆️

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

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

@@ -67,6 +70,7 @@ def run(
# Use the keys (UUIDs as strings) to get ensembles
ensembles = []
for ensemble_id in ensemble_data_as_dict:
assert self.storage is not None
Copy link
Contributor Author

Choose a reason for hiding this comment

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

(this smells a little bit, can't see how the storage function argument is used)

Copy link
Contributor

Choose a reason for hiding this comment

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

Why is self.storage used instead of the parameter storage ? Is this some sort of backwards compatability thing @oyvindeide ?

@eivindjahren eivindjahren added release-notes:maintenance Automatically categorise as maintenance change in release notes and removed release-notes:skip If there should be no mention of this in release notes labels Dec 12, 2024
Copy link
Contributor

@eivindjahren eivindjahren left a comment

Choose a reason for hiding this comment

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

Let's figure out the self.storage thing and then this should be good to go.

@berland
Copy link
Contributor Author

berland commented Dec 13, 2024

Let's figure out the self.storage thing and then this should be good to go.

We have bigger problems there: #9525

@berland berland merged commit 9725d7d into equinor:main Dec 13, 2024
39 checks passed
@berland berland deleted the some_typing branch December 27, 2024 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes:maintenance Automatically categorise as maintenance change in release notes
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants