Skip to content

Commit

Permalink
Set up tox to automatically run flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
grue committed Mar 7, 2014
1 parent 3024e97 commit 496d17b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions tox.ini
@@ -1,5 +1,12 @@
[tox]
envlist=py27
envlist=py27,flake8

[testenv]
deps=nose
deps=-r{toxinidir}/requirements.txt
commands=nosetests

[testenv:flake8]
basepython=python2.7
deps=flake8
-r{toxinidir}/requirements.txt
commands=flake8 quickbooks --ignore=E501,F999,F821 --exclude=migrations

0 comments on commit 496d17b

Please sign in to comment.