chipx86 got a fish trophy!
Add type hints for attributes on BaseCommand classes.
Review Request #13031 — Created May 10, 2023 and submitted — Latest diff uploaded
This ensures that all the attributes on
BaseCommand
,
BaseMultiCommand
, andBaseSubCommand
have type hints on the
attributes. This avoids the problem where type checkers complain when
subclasses define attributes of an "invalid type" due to thinking
default values are literals.
Unit tests pass.
Verified the type checker was happy for all subclasses.