Add new deprecation warning classes for RBTools 5 and 6.

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

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.

Summary
Add new deprecation warning classes for RBTools 5 and 6.
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-4.x (984424d)
Loading...