jw-pkg/src/python/jw/pkg/lib
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
..
distros distros.suse: Force non-interactive resolution 2026-06-01 20:14:45 +02:00
ec lib.ec.ssh.AsyncSSH: Ignore missing asyncssh 2026-06-02 17:52:49 +02:00
pm jw.pkg: Fix "make check" static code check fallout 2026-05-31 18:20:38 +02:00
App.py lib.App: Ignore missing argcomplete 2026-06-02 17:52:49 +02:00
AsyncRunner.py pyproject.toml: Enforce import annotations style 2026-06-01 14:34:25 +02:00
base.py lib.Result: Add module 2026-06-02 17:52:49 +02:00
Cmd.py pyproject.toml: Enforce import annotations style 2026-06-01 14:34:25 +02:00
CopyContext.py jw.pkg: Fix "make check" static code check fallout 2026-05-31 18:20:38 +02:00
Distro.py pyproject.toml: Enforce import annotations style 2026-06-01 14:34:25 +02:00
ExecContext.py lib.ExecContext.sudo(): Remove dead code 2026-06-02 13:17:19 +02:00
FileContext.py pyproject.toml: Enforce import annotations style 2026-06-01 14:34:25 +02:00
init.py lib.init.detect_modules(): Renovate signature 2026-06-06 23:08:28 +00:00
log.py lib.log: from __future__ import annotations 2026-06-01 14:24:01 +02:00
Makefile jw.pkg.build.lib: Move to jw.pkg.lib 2026-01-26 17:58:23 +01:00
Package.py jw.pkg: Fix "make check" static code check fallout 2026-05-31 18:20:38 +02:00
PackageFilter.py pyproject.toml: Enforce import annotations style 2026-06-01 14:34:25 +02:00
ProcFilter.py jw.pkg: Fix "make check" static code check fallout 2026-05-31 18:20:38 +02:00
ProcFilterGpg.py pyproject.toml: Enforce import annotations style 2026-06-01 14:34:25 +02:00
Result.py lib.Result: Add module 2026-06-02 17:52:49 +02:00
TarIo.py pyproject.toml: Enforce import annotations style 2026-06-01 14:34:25 +02:00
Types.py pyproject.toml: Enforce import annotations style 2026-06-01 14:34:25 +02:00
Uri.py jw.pkg: Fix "make check" static code check fallout 2026-05-31 18:20:38 +02:00
util.py lib.util.run_curl_into(): Fix indentation error 2026-06-01 20:14:45 +02:00