flake8: Fix use of --select and --ignore.
authorRussell Bryant <russell@ovn.org>
Fri, 22 Jan 2016 19:49:25 +0000 (14:49 -0500)
committerRussell Bryant <russell@ovn.org>
Tue, 2 Feb 2016 21:37:18 +0000 (16:37 -0500)
commit490bafe8d805c166b5b54b52ceb1f0c414244160
tree4f2c062f2d5c7c1bd29370da648fda9660052214
parentb89c678b7a267ec004ae292c8f0ee0c3f0ccb6d5
flake8: Fix use of --select and --ignore.

The flake8 command evolved over a series of patches and now includes the
use of both --select and --ignore.  Unfortunately, this wasn't doing
what I thought.  The use of --select completely overrides what --ignore
does, meaning that we were only currently enforcing a small number of
warnings specified in --select.  This patch runs flake8 twice, once with
--select and once with --ignore to actually enforce the full desired
set of warnings.

No additional violations had been introduced, but I noticed this while
working on some other patches.

Signed-off-by: Russell Bryant <russell@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
Makefile.am