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

Skip to content

Conversation

@cidrblock
Copy link
Contributor

@cidrblock cidrblock commented Aug 20, 2025

This PR consolidates the utils module structure by moving all utilities into a single util.py file at the root of the molecule package.

Changes:

  • Move util.py from src/molecule/utils/ to src/molecule/
  • Consolidate to_bool function from boolean.py into util.py
  • Update all imports from molecule.utils.util to molecule.util
  • Remove empty utils directory and associated files
  • All existing functionality preserved and tested

This simplifies the module structure while maintaining backward compatibility for all utility functions.

Reverts directory creation in #4530 now that circular imports issues have been resolved.

- Move util.py from src/molecule/utils/ to src/molecule/
- Consolidate to_bool function from boolean.py into util.py
- Update all imports from molecule.utils.util to molecule.util
- Remove empty utils directory and associated files
- All existing functionality preserved
- Keep MOLECULE_PARALLEL and MOLECULE_DEBUG using boolean() as intended
- Update import to use boolean instead of to_bool in config.py
@Qalthos Qalthos merged commit 5959d0f into main Aug 20, 2025
23 of 24 checks passed
@Qalthos Qalthos deleted the collapse_utils branch August 20, 2025 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants