Skip to content

Rename the confusing ricecooker.utils.utils module path #692

Description

@rtibblesbot

This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

The module ricecooker/utils/utils.py is imported as ricecooker.utils.utils — a stutter that reads poorly and gives no hint of its contents (path helpers like extract_path_ext, copy_file_to_storage, get_hash, etc.).

We should rename it to something meaningful (e.g. ricecooker.utils.paths / ricecooker.utils.storage, split by concern if warranted) and update all import sites.

Follow-up split out from review discussion on #690 (#690), where utils.utils surfaced again in archive_assets.py. Deferred there to avoid unrelated churn.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions