pmbootstrap-meow/pmb/helpers
Caleb Connolly 71e7af57e6
pmb.helpers.logging: wrap logging module (MR 2252)
We use a custom verbose log level in pmbootstrap, unfortunately it isn't
possible to correctly type this due to some limitations in the logging
library [1], [2].

Given that our usecase is fairly simple, we can just wrap the module
with our own so we only have to tell mypy to ignore the error once
instead of at every callsite.

[1]: https://github.com/cryptax/droidlysis/issues/15
[2]: https://github.com/python/typing/discussions/980

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-06-23 12:38:37 +02:00
..
__init__.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
apk.py treewide: add a Chroot type and adopt pathlib.Path (MR 2252) 2024-06-23 12:38:37 +02:00
aportupgrade.py pmb.helpers.logging: wrap logging module (MR 2252) 2024-06-23 12:38:37 +02:00
args.py pmb.helpers.other.cache: simplify (MR 2252) 2024-06-23 12:38:37 +02:00
cli.py pmb.helpers.logging: wrap logging module (MR 2252) 2024-06-23 12:38:37 +02:00
devices.py treewide: add a Chroot type and adopt pathlib.Path (MR 2252) 2024-06-23 12:38:37 +02:00
exceptions.py pmb.helpers.exceptions: Add BuildFailedError (MR 2288) 2024-04-10 20:49:07 +00:00
file.py treewide: type hint args (MR 2252) 2024-06-23 12:38:37 +02:00
frontend.py pmb.helpers.logging: wrap logging module (MR 2252) 2024-06-23 12:38:37 +02:00
git.py pmb.helpers.logging: wrap logging module (MR 2252) 2024-06-23 12:38:37 +02:00
http.py pmb.helpers.logging: wrap logging module (MR 2252) 2024-06-23 12:38:37 +02:00
lint.py pmb.helpers.logging: wrap logging module (MR 2252) 2024-06-23 12:38:37 +02:00
logging.py pmb.helpers.logging: wrap logging module (MR 2252) 2024-06-23 12:38:37 +02:00
mount.py treewide: add a Chroot type and adopt pathlib.Path (MR 2252) 2024-06-23 12:38:37 +02:00
other.py pmb.helpers.logging: wrap logging module (MR 2252) 2024-06-23 12:38:37 +02:00
package.py pmb.helpers.logging: wrap logging module (MR 2252) 2024-06-23 12:38:37 +02:00
pkgrel_bump.py pmb.helpers.logging: wrap logging module (MR 2252) 2024-06-23 12:38:37 +02:00
pmaports.py pmb.helpers.logging: wrap logging module (MR 2252) 2024-06-23 12:38:37 +02:00
repo.py pmb.helpers.logging: wrap logging module (MR 2252) 2024-06-23 12:38:37 +02:00
repo_bootstrap.py pmb.helpers.logging: wrap logging module (MR 2252) 2024-06-23 12:38:37 +02:00
repo_missing.py pmb.helpers.logging: wrap logging module (MR 2252) 2024-06-23 12:38:37 +02:00
run.py treewide: add a Chroot type and adopt pathlib.Path (MR 2252) 2024-06-23 12:38:37 +02:00
run_core.py pmb.helpers.logging: wrap logging module (MR 2252) 2024-06-23 12:38:37 +02:00
status.py treewide: add a Chroot type and adopt pathlib.Path (MR 2252) 2024-06-23 12:38:37 +02:00
ui.py treewide: type hint args (MR 2252) 2024-06-23 12:38:37 +02:00