MODFLOW-USGS / modflow-devtools

Python tools for MODFLOW 6 development
https://modflow-devtools.readthedocs.io/en/latest/
Other
2 stars 5 forks source link

refactor(fixtures): overwrite keepable temp dirs by default #67

Closed wpbonelli closed 1 year ago

wpbonelli commented 1 year ago

Previously, keepable temporary directory fixtures did not overwrite existing folders. Needing to manually remove temp folders increases friction for repeated testing/debugging, so this PR updates the --keep option to overwrite the specified location.

While this introduces the potential for data loss, presumably users of this package are running tests from an autotest folder, which shouldn't contain anything valuable that's not already under version control.