From 86b25ba2e3bac0e034235d322c7c77080d737833 Mon Sep 17 00:00:00 2001 From: Abhilash Raj Date: Tue, 26 Jul 2016 16:29:36 -0700 Subject: [PATCH] flake8-respect-noqa is no longer required with flake8>3.0 This also fixes a small QA error that was ignore by the flake8-respect-noqa for some reason. --- src/mailman/chains/reject.py | 2 +- tox.ini | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/mailman/chains/reject.py b/src/mailman/chains/reject.py index 934b83b3d..6711538b7 100644 --- a/src/mailman/chains/reject.py +++ b/src/mailman/chains/reject.py @@ -66,7 +66,7 @@ The original message as received by Mailman is attached. """).format( list_name=mlist.display_name, # noqa reasons=NEWLINE.join(reasons) # noqa - )) + )) # noqa bounce_message(mlist, msg, error) log.info('REJECT: %s', msg.get('message-id', 'n/a')) notify(RejectEvent(mlist, msg, msgdata, self)) diff --git a/tox.ini b/tox.ini index 112deee3f..bce179a0c 100644 --- a/tox.ini +++ b/tox.ini @@ -32,8 +32,7 @@ basepython = python3 commands = python -m flake8 src deps = - flake8 - flake8-respect-noqa + flake8>3.0 [testenv:docs] basepython = python3 -- 2.11.4.GIT