From c6765e12ff84a3577986b874df3d6eff49cbec91 Mon Sep 17 00:00:00 2001 From: Arnold Krille Date: Sun, 13 Mar 2016 18:42:12 +0100 Subject: [PATCH] Move the flake8 config to setup.cfg My editor (atom) reads the setup.cfg but doesn't parse the cmd-line args in the tox.ini. So lets move the flake8 config to setup.cfg. --- setup.cfg | 4 ++++ tox.ini | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index bdf2170..7bb61ca 100644 --- a/setup.cfg +++ b/setup.cfg @@ -4,3 +4,7 @@ requires = redis >= 2.7.0 [wheel] universal = 1 + +[flake8] +max-line-length=120 +ignore=E731 \ No newline at end of file diff --git a/tox.ini b/tox.ini index c3ec20f..28b6aef 100644 --- a/tox.ini +++ b/tox.ini @@ -20,4 +20,4 @@ basepython = python2.7 deps = flake8 commands = - flake8 rq tests --max-line-length=120 --ignore=E731 + flake8 rq tests