1
0
Fork 1
mirror of https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git synced 2025-07-12 19:09:56 +03:00
pmbootstrap/pmb/parse
Newbyte 0ade6cab4d
pmb: Use inspect.get_annotations()
On Python 3.10 and newer, this is the recommended way of accessing
annotations[1]. It also works with Mypyc, unlike directly accessing
__annotations__.

 [1]: https://docs.python.org/3/howto/annotations.html

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2634
2025-07-10 21:09:41 +02:00
..
__init__.py pmb: Use explicit re-exports (MR 2545) 2025-02-23 11:40:44 +01:00
_apkbuild.py pmb.parse._apkbuild: Use NonBugError for all errors 2025-07-06 21:15:31 +02:00
apkindex.py pmb.parse.apkindex: account for provider_priority when locating packages 2025-05-13 19:19:00 +02:00
arguments.py Remove "pmbootstrap repo_bootstrap" 2025-06-03 17:25:41 +02:00
binfmt_info.py pmb: Add more type hints (MR 2490) 2024-12-19 10:09:22 +00:00
bootimg.py bootimg: exynos: extract platform and subtype from dt.img header 2025-07-10 21:03:01 +02:00
cpuinfo.py Run ruff check --fix (MR 2357) 2024-07-16 00:26:35 +02:00
depends.py pmb: Reformat with Ruff 0.9 (MR 2525) 2025-01-15 22:35:02 +01:00
deviceinfo.py pmb: Use inspect.get_annotations() 2025-07-10 21:09:41 +02:00
kconfig.py pmb: Reformat with Ruff 0.9 (MR 2525) 2025-01-15 22:35:02 +01:00
kconfigcheck.py kconfig check: move rules to kconfigcheck.toml (MR 2333) 2024-06-30 18:04:31 +02:00
version.py pmb.parse.version: Use _ for "value" variable in validate() (MR 2516) 2025-01-02 16:45:01 +01:00