Add new deprecation warning classes for RBTools 5 and 6.

Review Request #12523 — Created Aug. 9, 2022 and submitted — Latest diff uploaded

chipx86
RBTools
release-4.x
rbtools

This adds RemovedInRBTools50Warning and RemovedInRBTools60Warning,
which will be used for upcoming changes that deprecate some older
functionality.

RemovedInRBTools40Warning will remain in the codebase until all
pending deprecations for 4.0 have been removed.

This also introduces the first usage of Python type hints to our
codebase. This is new for us, so we'll need to develop best practices
over time.

Made use of this in an in-progress change.

Unit tests pass.

Commits

Files

Loading...