neutron-lib/neutron_lib/hacking
Takashi NATSUME eb32fd4fbd Add a hacking rule for string interpolation at logging
String interpolation should be delayed to be handled
by the logging code, rather than being done at the point of
the logging call. So add the following hacking rule for it.

- [N536] String interpolation should be delayed at logging calls.

We need this to ensure that all projects using the neutron-lib
hacking rules still have enforcement of the log policies
of the project.

See the oslo i18n guideline.

* http://docs.openstack.org/developer/oslo.i18n/guidelines.html

Change-Id: I901dcbfbd53d5d19db651473d2891bc8e8a59710
Related-Bug: #1596829
2016-08-15 09:53:28 +09:00
..
__init__.py Lib specific hacking rules 2016-02-08 13:53:10 -07:00
checks.py Add a hacking rule for string interpolation at logging 2016-08-15 09:53:28 +09:00
translation_checks.py Add a hacking rule for string interpolation at logging 2016-08-15 09:53:28 +09:00