This change will help to check the function _() is
used but not imported. And the gates will check this missing
in the next time.
Change-Id: Ic1dd25e99c3db9fc8782a5f0977679978e274191
Currently, we have hacking check in kolla, but no place where we
can define hacking check rules. This patch adds HACKING.rst file
for that. And also add test cases for hacking.
Change-Id: I87f8768138d91bf6a5a1db91d37392f794f3f0ba
This patchs ensure doesn't use LOG.warn because LOG.warn deprecated
in Python 3 [1]. Using LOG.warning should be used instead.
[1] https://docs.python.org/3/library/logging.html#logging.warning
TrivialFix
Change-Id: I464314b33b8d4f31b6be0a765019e1f5668cc6d9