Commit 19f31340 by Tom Christie

Add flake8 to requirements

parent bf09c32d
...@@ -19,6 +19,7 @@ install: ...@@ -19,6 +19,7 @@ install:
- pip install Pillow==2.3.0 - pip install Pillow==2.3.0
- pip install django-guardian==1.2.3 - pip install django-guardian==1.2.3
- pip install pytest-django==2.6.1 - pip install pytest-django==2.6.1
- pip install flake8==2.2.2
- "if [[ ${TRAVIS_PYTHON_VERSION::1} != '3' ]]; then pip install oauth2==1.5.211; fi" - "if [[ ${TRAVIS_PYTHON_VERSION::1} != '3' ]]; then pip install oauth2==1.5.211; fi"
- "if [[ ${TRAVIS_PYTHON_VERSION::1} != '3' ]]; then pip install django-oauth-plus==2.2.4; fi" - "if [[ ${TRAVIS_PYTHON_VERSION::1} != '3' ]]; then pip install django-oauth-plus==2.2.4; fi"
- "if [[ ${TRAVIS_PYTHON_VERSION::1} != '3' ]]; then pip install django-oauth2-provider==0.2.4; fi" - "if [[ ${TRAVIS_PYTHON_VERSION::1} != '3' ]]; then pip install django-oauth2-provider==0.2.4; fi"
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
pytest-django==2.6 pytest-django==2.6
pytest==2.5.2 pytest==2.5.2
pytest-cov==1.6 pytest-cov==1.6
flake8==2.2.2
# Optional packages # Optional packages
markdown>=2.1.0 markdown>=2.1.0
......
...@@ -13,6 +13,7 @@ commands = ./runtests.py --fast ...@@ -13,6 +13,7 @@ commands = ./runtests.py --fast
[testenv:flake8] [testenv:flake8]
basepython = python2.7 basepython = python2.7
deps = pytest==2.5.2 deps = pytest==2.5.2
flake8==2.2.2
commands = ./runtests.py --lintonly commands = ./runtests.py --lintonly
[testenv:py3.4-django1.7] [testenv:py3.4-django1.7]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment