Thanks to visit codestin.com
Credit goes to github.com

Skip to content

refactor(mflistfile): deprecate set_budget_key for init#2637

Merged
wpbonelli merged 1 commit into
modflowpy:developfrom
wpbonelli:listfile
Oct 14, 2025
Merged

refactor(mflistfile): deprecate set_budget_key for init#2637
wpbonelli merged 1 commit into
modflowpy:developfrom
wpbonelli:listfile

Conversation

@wpbonelli

@wpbonelli wpbonelli commented Oct 14, 2025

Copy link
Copy Markdown
Member

Deprecate set_budget_key() and just pass the appropriate budgetkey for each subclass to the parent's __init__() instead. The budgetkey can still be overridden through the initializer or directly setting the attribute as before.

@codecov

codecov Bot commented Oct 14, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 72.22222% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.5%. Comparing base (556c088) to head (38d9fe4).
⚠️ Report is 78 commits behind head on develop.

Files with missing lines Patch % Lines
flopy/utils/mflistfile.py 72.2% 5 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2637      +/-   ##
===========================================
+ Coverage     55.5%    72.5%   +17.0%     
===========================================
  Files          644      667      +23     
  Lines       124135   129121    +4986     
===========================================
+ Hits         68947    93706   +24759     
+ Misses       55188    35415   -19773     
Files with missing lines Coverage Δ
flopy/utils/mflistfile.py 69.4% <72.2%> (-0.1%) ⬇️

... and 559 files with indirect coverage changes

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

@wpbonelli wpbonelli added the refactor Non-functional changes label Oct 14, 2025
@wpbonelli wpbonelli marked this pull request as ready for review October 14, 2025 18:08
@wpbonelli wpbonelli merged commit c0cae81 into modflowpy:develop Oct 14, 2025
19 checks passed
@wpbonelli wpbonelli deleted the listfile branch October 14, 2025 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance refactor Non-functional changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant