1
0
Fork 1
mirror of https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git synced 2025-07-12 19:09:56 +03:00
pmbootstrap/pmb/core
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
apkindex_block.py Improvements to documentation (MR 2440) 2024-10-21 21:46:26 +02:00
arch.py pmb.arch: Add support for s390x 2025-05-25 11:32:01 +02:00
chroot.py pmb: Reformat with Ruff 0.9 (MR 2525) 2025-01-15 22:35:02 +01:00
config.py pmb: Use inspect.get_annotations() 2025-07-10 21:09:41 +02:00
context.py pmb.core.context: Properly type get_context() 2025-07-06 20:40:43 +02:00
dps.py pmb.core: add Discoverable Partitions Specification file (MR 2426) 2024-10-13 19:59:26 +02:00
package_metadata.py core: small typing improvement 2025-04-11 17:19:10 +02:00
pkgrepo.py docs, pmb: Add missing copyright headers (MR 2516) 2025-01-02 16:45:03 +01:00