From 500f1e5dca632de638b8aa0e747d2ffca242ae40 Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Mon, 21 Jul 2014 08:09:38 +0200 Subject: [PATCH] Enable check for E226 * E226 missing whitespace around arithmetic operator Change-Id: Iee5f6a952d9b12c6c8a4a79ef656fc7f94170776 --- tests/drivers/test_impl_rabbit.py | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/drivers/test_impl_rabbit.py b/tests/drivers/test_impl_rabbit.py index 06f2af410..05b2ad937 100644 --- a/tests/drivers/test_impl_rabbit.py +++ b/tests/drivers/test_impl_rabbit.py @@ -226,7 +226,7 @@ class TestSendReceive(test_utils.BaseTestCase): msgs.append(received) # reply in reverse, except reply to the first guy second from last - order = list(range(len(senders)-1, -1, -1)) + order = list(range(len(senders) - 1, -1, -1)) if len(order) > 1: order[-1], order[-2] = order[-2], order[-1] diff --git a/tox.ini b/tox.ini index 40bb4383a..9e52f5521 100644 --- a/tox.ini +++ b/tox.ini @@ -25,7 +25,7 @@ commands = python setup.py build_sphinx [flake8] show-source = True -ignore = E226,E241,E265,E714,H237,H402,H405,H904 +ignore = E241,E265,E714,H237,H402,H405,H904 exclude = .tox,dist,doc,*.egg,build,__init__.py builtins = _