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

Move plot_api #8897

Closed
wants to merge 1 commit into from
Closed

Conversation

eivindjahren
Copy link
Contributor

@eivindjahren eivindjahren commented Oct 7, 2024

As plot_api is used by both ert.gui.plottery and ert.gui.tools.plot, its current location causes circular dependency problems. Moving it to ert.gui resolves that problem.

  • 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

@eivindjahren eivindjahren added the release-notes:refactor PR changes code without changing ANY (!) behavior. label Oct 7, 2024
@eivindjahren eivindjahren mentioned this pull request Oct 7, 2024
9 tasks
@eivindjahren eivindjahren force-pushed the move_plot_api branch 3 times, most recently from 23e82b3 to d465295 Compare October 7, 2024 07:35
As plot_api is used by both ert.gui.plottery and ert.gui.tools.plot,
its current location causes circular dependency problems. Moving
it to ert.gui resolves that problem.
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.38%. Comparing base (b505d33) to head (4f1a896).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8897   +/-   ##
=======================================
  Coverage   91.37%   91.38%           
=======================================
  Files         344      344           
  Lines       21119    21118    -1     
=======================================
+ Hits        19297    19298    +1     
+ Misses       1822     1820    -2     
Flag Coverage Δ
cli-tests 39.54% <0.00%> (+0.01%) ⬆️
gui-tests 73.47% <100.00%> (-0.01%) ⬇️
performance-tests 50.14% <100.00%> (-0.01%) ⬇️
unit-tests 80.09% <100.00%> (-0.01%) ⬇️

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.

@eivindjahren eivindjahren enabled auto-merge (rebase) October 7, 2024 08:57
@eivindjahren
Copy link
Contributor Author

Replaced by #8900

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes:refactor PR changes code without changing ANY (!) behavior.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants