You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Branch names, commit hashes, or tags may be provided to `ref`.
100
96
101
-
By default, a backup is made of FloPy's package classes before rewriting them. To disable backups, use `--no-backup` from command-line, or `backup=False` with the Python function.
102
-
103
97
## Testing class generation
104
98
105
99
Tests for the `generate_classes()` utility are located in `test_generate_classes.py`. The tests depend on [`virtualenv`](https://pypi.org/project/virtualenv/) and will be skipped if run in parallel without the `--dist loadfile` option for `pytest-xdist`.
Copy file name to clipboardExpand all lines: docs/make_release.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,7 @@ As described above, making a release manually involves the following steps:
96
96
97
97
- Run `python scripts/update_version.py -v <semver>` to update the version number stored in `version.txt` and `flopy/version.py`. For an approved release use the `--approve` flag.
98
98
99
-
- Update MODFLOW 6 dfn files in the repository and MODFLOW 6 package classes by running `python -m flopy.mf6.utils.generate_classes --ref master --no-backup`
99
+
- Update MODFLOW 6 dfn files in the repository and MODFLOW 6 package classes by running `python -m flopy.mf6.utils.generate_classes --ref master`
100
100
101
101
- Run `ruff check .` and `ruff format .` from the project root.
0 commit comments