Add new deprecation warning classes for RBTools 5 and 6.

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

Information

RBTools
release-4.x

Reviewers

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.

Summary ID
Add new deprecation warning classes for RBTools 5 and 6.
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.
3f5a60fd7cbdb19e908c7e93eeacea764e2d3362
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-4.x (984424d)