Skip to content

Commit

Permalink
Enable automatic flake8 checks
Browse files Browse the repository at this point in the history
  • Loading branch information
akaariai committed Sep 4, 2015
1 parent 1fea4e3 commit 1688cdc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -3,6 +3,7 @@ sudo: no
language: python

env:
- TOXENV=flake8
- TOXENV=py27-1.7
- TOXENV=py27-1.8
- TOXENV=py27-master
Expand Down
8 changes: 8 additions & 0 deletions tox.ini
@@ -1,6 +1,7 @@
[tox]
args_are_paths = false
envlist =
flake8,
py27-{1.7,1.8,master},
py{32,33}-{1.7,1.8},
py34-{1.7,1.8,master}
Expand All @@ -20,3 +21,10 @@ deps =
1.7: Django>=1.7,<1.8
1.8: Django>=1.8,<1.9
master: https://github.com/django/django/archive/master.tar.gz

[testenv:flake8]
basepython = python2.7
commands =
flake8
deps =
flake8

0 comments on commit 1688cdc

Please sign in to comment.