jw-pkg/src/python/jw/pkg
Jan Lindemann 3dc452d9b4
lib.init.detect_modules(): Renovate signature
- 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 the case for all callers of this function.
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-06-06 23:08:28 +00:00
..
cmds lib.init.detect_modules(): Renovate signature 2026-06-06 23:08:28 +00:00
lib lib.init.detect_modules(): Renovate signature 2026-06-06 23:08:28 +00:00
__init__.py jw.pkg.__init__.py: Add file to Git 2026-06-01 14:32:44 +02:00
App.py App.find_dir(): Allow return value None 2026-06-01 20:22:09 +02:00
CmdBase.py CmdBase / cmds.projects.Cmd: Add modules 2026-05-31 17:52:20 +02:00
Makefile jw.pkg.__init__.py: Add file to Git 2026-06-01 14:32:44 +02:00
py.typed jw/pkg/py.typed: Add file 2026-05-31 18:21:20 +02:00