Files
designate/designate/hacking
Michael Johnson 256f889279 Add hacking check D710 for LOG.warn()
Python 3 deprecated the logger.warn method, see:
https://docs.python.org/3/library/logging.html#logging.warning
so we prefer to use warning to avoid DeprecationWarning.

This patch adds a hacking check, similar to other projects, that enforces
using LOG.warning() instead of LOG.warn().

Change-Id: I424ccc14ec09dd6c7662aaee1096dfd56917aef2
2021-11-30 00:22:51 +00:00
..