Add standard deprecation utilities for RBTools.

Review Request #11517 — Created March 12, 2021 and submitted

Information

RBTools
master

Reviewers

In other packages, we've started standardizing on utility classes for
emitting deprecation warnings. This changes adds those same utilities to
RBTools, and moves the various warnings that have been recently added in
over to use them.

  • Ran unit tests.
  • Triggered a warning and saw it work correctly.
Summary ID
Add standard deprecation utilities for RBTools.
In other packages, we've started standardizing on utility classes for emitting deprecation warnings. This changes adds those same utilities to RBTools, and moves the various warnings that have been recently added in over to use them. Testing Done: - Ran unit tests. - Triggered a warning and saw it work correctly.
250d33faa68b69bd102f5047c74cec67d75dab85
Description From Last Updated

E501 line too long (80 > 79 characters)

reviewbotreviewbot

Can you put this in alphabetical order?

chipx86chipx86
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

david
  1. 
      
  2. 
      
david
chipx86
  1. 
      
  2. rbtools/commands/__init__.py (Diff revision 2)
     
     
     
    Show all issues

    Can you put this in alphabetical order?

  3. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to master (62f0989)