Fish Trophy

chipx86 got a fish trophy!

Fish Trophy

Add type hints for attributes on BaseCommand classes.

Review Request #13031 — Created May 10, 2023 and submitted — Latest diff uploaded

Information

RBTools
release-5.x

Reviewers

This ensures that all the attributes on BaseCommand,
BaseMultiCommand, and BaseSubCommand 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.

Commits

Files