glance/glance
Chris Buccella 3994eeb862 Add hacking checks
There have been a handful of changes recently to fix stylistic bugs
in the unit tests (example: If41a7). The changes themselves were fine,
but there are two problems:

1) The stylistic changes they made were not listed in HACKING.rst
2) They were one-time changes; the rules that were violated will
   continue to be violated.

This change updates HACKING.rst to include a few of the stylistic
rules that have been fixed recently, and adds checks to ensure that
they will be enforced going forward. This is based on nova's hacking
checks.

Change-Id: Ic115342605c472f3a5d255aa570ecb60175ca087
2014-06-10 02:06:56 +00:00
..
api debug level logs should not be translated 2014-05-23 15:57:06 +02:00
cmd remove default=None for config options 2014-05-28 08:52:34 +02:00
common remove default=None for config options 2014-05-28 08:52:34 +02:00
db debug level logs should not be translated 2014-05-23 15:57:06 +02:00
domain Ensures that task.message is of type unicode 2014-05-06 14:00:44 -04:00
hacking Add hacking checks 2014-06-10 02:06:56 +00:00
image_cache debug level logs should not be translated 2014-05-23 15:57:06 +02:00
locale Remove all mostly untranslated PO files 2014-05-22 18:37:48 +02:00
openstack Clean up openstack-common.conf 2014-05-15 10:27:17 +08:00
quota When re-raising exceptions, use save_and_reraise 2014-03-26 12:00:29 -05:00
registry debug level logs should not be translated 2014-05-23 15:57:06 +02:00
store remove default=None for config options 2014-05-28 08:52:34 +02:00
tests Add hacking checks 2014-06-10 02:06:56 +00:00
__init__.py Empty files shouldn't contain copyright nor license 2013-12-24 22:39:05 -06:00
context.py Fix logging context to include user_identity 2014-02-21 17:19:31 +01:00
gateway.py Get rid of TaskDetails in favor of TaskStub 2014-04-16 11:14:58 -07:00
notifier.py Replace unicode() for six.text_type 2014-05-05 15:40:02 -03:00
schema.py Replace unicode() for six.text_type 2014-05-05 15:40:02 -03:00
scrubber.py debug level logs should not be translated 2014-05-23 15:57:06 +02:00
version.py Remove vim header 2014-01-14 16:03:28 +00:00