pmbootstrap-meow/pmb/parse
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 pmb.parse: add get_parser for returning ArgumentParser obj (MR 2266) 2024-05-14 14:36:18 +02:00
_apkbuild.py pmb.helpers.logging: wrap logging module (MR 2252) 2024-06-23 12:38:37 +02:00
apkindex.py pmb.helpers.logging: wrap logging module (MR 2252) 2024-06-23 12:38:37 +02:00
arch.py treewide: add a Chroot type and adopt pathlib.Path (MR 2252) 2024-06-23 12:38:37 +02:00
arguments.py pmb.helpers.other.cache: simplify (MR 2252) 2024-06-23 12:38:37 +02:00
binfmt_info.py pmb.helpers.logging: wrap logging module (MR 2252) 2024-06-23 12:38:37 +02:00
bootimg.py pmb.helpers.logging: wrap logging module (MR 2252) 2024-06-23 12:38:37 +02:00
cpuinfo.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
depends.py pmb.helpers.logging: wrap logging module (MR 2252) 2024-06-23 12:38:37 +02:00
deviceinfo.py pmb.helpers.logging: wrap logging module (MR 2252) 2024-06-23 12:38:37 +02:00
kconfig.py pmb.helpers.logging: wrap logging module (MR 2252) 2024-06-23 12:38:37 +02:00
version.py pmb.*: various comment reformatting to assist with generating docs (MR 2266) 2024-05-14 14:36:22 +02:00