From 1351be101d975f51de5d4335869cdbd5d647ce4c Mon Sep 17 00:00:00 2001 From: Rosario Di Somma Date: Mon, 9 Feb 2015 12:34:15 -0800 Subject: [PATCH] Make flake8 ignore E731 error Part of the code we copied from neutron is now failing due to a new flake8 default rule. This changes makes tox and travis ignore it. Change-Id: I99a30e0f41e295036f62f8f27e50cd96e77d909d Signed-off-by: Rosario Di Somma --- .travis.yml | 2 +- tox.ini | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d0393216..b15d71f3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,5 +6,5 @@ install: - pip install flake8 --use-mirrors - pip install -q . --use-mirrors before_script: - - flake8 setup.py akanda + - flake8 setup.py akanda --ignore=E123,E133,E226,E241,E242,E731 script: nosetests -d \ No newline at end of file diff --git a/tox.ini b/tox.ini index 4ee9a14b..fec19cb7 100644 --- a/tox.ini +++ b/tox.ini @@ -24,3 +24,6 @@ setenv = NOSE_WITH_COVERAGE=1 [testenv:venv] commands = {posargs} + +[flake8] +ignore = E123,E133,E226,E241,E242,E731 \ No newline at end of file