Open bengrunfeld opened 10 years ago
use flake8
to test for PEP8 compatibility.
Alternatively, you can use tox
to help automate your test suite:
$ cat tox.ini
[tox]
envlist = py27, pep8
skipsdist = True
[testenv]
sitepackages = True
deps = -r{toxinidir}/requirements.txt
commands = python manage.py test
[testenv:pep8]
commands = flake8 {toxinidir}
[flake8]
ignore = H102,H233,H304,H802,H803
exclude = .tox,.git
Make app PEP8 compliant.