binman: Fix typing for python >= 3.7
authorYannic Moog <y.moog@phytec.de>
Tue, 15 Jul 2025 06:21:24 +0000 (08:21 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 22 Jul 2025 17:30:03 +0000 (11:30 -0600)
commit187ac12927c042a982961096c9a418287b8e97e2
tree9fd775ac8c9227986b3e69a132b51be525534daa
parentb9db211e3906c0a620ced344a2ebe5f87ccbf951
binman: Fix typing for python >= 3.7

To get the [] annotation working with python 3.7 and 3.8, import
annotations.

Reported-by: Tim Harvey <tharvey@gateworks.com>
Fixes: 21bc3433a43d ("binman: rework dropping absent entries from packaged image")
Reviewed-by: Bryan Brattlof <bb@ti.com>
Signed-off-by: Yannic Moog <y.moog@phytec.de>
Tested-by: Tim Harvey <tharvey@gateworks.com>
tools/binman/etype/cbfs.py
tools/binman/etype/mkimage.py
tools/binman/etype/section.py