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

Skip to content

refactor(codegen): miscellaneous cleanup, amend tests#2519

Merged
wpbonelli merged 3 commits into
modflowpy:developfrom
wpbonelli:codegen
May 27, 2025
Merged

refactor(codegen): miscellaneous cleanup, amend tests#2519
wpbonelli merged 3 commits into
modflowpy:developfrom
wpbonelli:codegen

Conversation

@wpbonelli

@wpbonelli wpbonelli commented May 27, 2025

Copy link
Copy Markdown
Member

Simplify the generate_classes.py script. Remove the backup and exclude functionality — this can be done manually if needed in the future. Improve the console output by showing lists in columns.

Also, one of the old commits we tested had some funky variable definitions in gwf-evta.dfn, which I think we can safely assume are no longer part of the spec. This was breaking the codegen CI tests.

@codecov

codecov Bot commented May 27, 2025

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 13.33333% with 52 lines in your changes missing coverage. Please review.

Project coverage is 55.5%. Comparing base (ff5624e) to head (fff925f).
Report is 6 commits behind head on develop.

Files with missing lines Patch % Lines
flopy/mf6/utils/generate_classes.py 13.3% 52 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2519   +/-   ##
========================================
  Coverage     55.5%    55.5%           
========================================
  Files          644      644           
  Lines       124157   124123   -34     
========================================
+ Hits         68922    68949   +27     
+ Misses       55235    55174   -61     
Files with missing lines Coverage Δ
flopy/mf6/utils/codegen/filters.py 0.0% <ø> (ø)
flopy/mf6/utils/generate_classes.py 17.0% <13.3%> (-1.6%) ⬇️

... and 7 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 merged commit 4c572f9 into modflowpy:develop May 27, 2025
19 checks passed
@wpbonelli wpbonelli deleted the codegen branch May 27, 2025 21:05
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.

1 participant