Add standard deprecation utilities for RBTools.

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

david
RBTools
master
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.

  • Ran unit tests.
  • Triggered a warning and saw it work correctly.
Summary
Add standard deprecation utilities for RBTools.
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)
     
     
     

    Can you put this in alphabetical order?

  3. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (62f0989)
Loading...