Fix some typing around AppliesToURLMixin.
Review Request #14549 — Created Aug. 4, 2025 and submitted — Latest diff uploaded
AppliesToURLMixinhad the wrong base class, usingExtensioninstead
ofExtensionHook, which ended up breaking the typing for
initialize()and other methods for anything subclassing a hook using
AppliesToURLMixin.This fixes that, switches to
Sequence[str]instead ofList[str]for
the parameter, and adds typing for the attribute.
Unit tests pass.
Verified this fixed issues I hit with some extension work.