Kludge tox to run flake8

This hasn't been run in a loong time...
This commit is contained in:
Sachi King 2017-03-05 17:47:08 +11:00
parent a239d12e2d
commit 97748a0f7f
2 changed files with 15 additions and 1 deletions

2
.gitignore vendored
View file

@ -11,3 +11,5 @@ local_settings.py
\.#*
*#*#
.ve2
ve2
.tox

14
tox.ini
View file

@ -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