Fix up all remaining imports for type checking

Review Request #14778 — Created Jan. 12, 2026 and submitted — Latest diff uploaded

Information

RBTools
master

Reviewers

This change fixes up remaining imports related to type checking, moving
a bunch of things into if TYPE_CHECKING blocks, importing from more
modern locations (e.g. collections.abc instead of typing), and
generally cleaning up.

Ran unit tests.

Commits

Files