Add standard deprecation utilities for RBTools.

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

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.

Diff Revision 1

This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.

orig
1
2

Commits

First Last Summary ID Author
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.
062f861a6feee9dfab1ee041096e80e8774dfaaa David Trowbridge
rbtools/deprecation.py
rbtools/clients/__init__.py
rbtools/commands/__init__.py
Loading...