lib.init.detect_modules(): Renovate signature #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "jan/feature/20260606-lib-init-detect-modules--renovate-signature"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Remove package_name and package_path from the prototype of
detect_modules(). They can and should be deduced from
namespace['name'] and namespace['path'], respectively.
Make prefix default to None, which signifies "Don't filter by
prefix".
Add an optional extend_namespace parameter, which will make the
function append the module's name to its path. This
defaults to True, thereby adding a side effect to the function.
Which is always wanted in this case for all callers of this
function.
Signed-off-by: Jan Lindemann jan@janware.com