diff options
author | Ihar Hrachyshka <ihrachys@redhat.com> | 2016-11-07 18:48:23 +0000 |
---|---|---|
committer | Ihar Hrachyshka <ihrachys@redhat.com> | 2016-11-08 03:36:00 +0000 |
commit | 4e25ba840a6f5762f838fd375eb9b8c0b60eb055 (patch) | |
tree | 3a10750b9be1b152dd3f0900a14dd11e16a6f741 /HACKING.rst | |
parent | 3596a387c11dd49c419e8f1caa26e74b639ac260 (diff) | |
download | neutron-4e25ba840a6f5762f838fd375eb9b8c0b60eb055.tar.gz |
Switch to new hacking 0.12
The release includes its own check for delayed string interpolation for
log messages, so we can now remove our own check for the same thing. The
check is off-by-default, so we need to explicitly enable it. Sadly,
select= directive in tox.ini is broken [1] so we need to enable the
check with flake8 argument instead.
[1] https://github.com/PyCQA/pycodestyle/issues/390
Change-Id: Idc6b8e5b1cb594e130d4cc0cbcfffd362f9ab86a
Diffstat (limited to 'HACKING.rst')
-rw-r--r-- | HACKING.rst | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/HACKING.rst b/HACKING.rst index 80d58701c6..48e4ed6b8f 100644 --- a/HACKING.rst +++ b/HACKING.rst @@ -28,7 +28,6 @@ Neutron Specific Commandments - [N334] Use unittest2 uniformly across Neutron. - [N340] Check usage of <module>.i18n (and neutron.i18n) - [N341] Check usage of _ from python builtins -- [N342] String interpolation should be delayed at logging calls. - [N343] Production code must not import from neutron.tests.* - [N344] Python 3: Do not use filter(lambda obj: test(obj), data). Replace it with [obj for obj in data if test(obj)]. |