From 97748a0f7ffae8d1c141ddcadf86f71c7f41f74f Mon Sep 17 00:00:00 2001 From: Sachi King Date: Sun, 5 Mar 2017 17:47:08 +1100 Subject: [PATCH] Kludge tox to run flake8 This hasn't been run in a loong time... --- .gitignore | 2 ++ tox.ini | 14 +++++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 852d1f56..fd21cca7 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,5 @@ local_settings.py \.#* *#*# .ve2 +ve2 +.tox diff --git a/tox.ini b/tox.ini index 721801fa..702fc5f3 100644 --- a/tox.ini +++ b/tox.ini @@ -1,4 +1,16 @@ +[tox] +minversion = 1.6 +skipsdist = True +envlist = pep8 + +[testenv] +basepython = python2.7 +skip_install = True +install_command = pip install {opts} {packages} +deps = flake8 +commands = flake8 {posargs} + [flake8] -ignore = E265,E501 max-line-length = 100 max-complexity = 10 +exclude = .venv,.tox,ve2,.ve2,cms_pages,pinaxcon/proposals/migrations,pinaxcon/registrasion/migrations