mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-06-20 05:23:18 +03:00
Add flake8 to requirements
This commit is contained in:
parent
bf09c32de8
commit
19f3134062
|
@ -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 @@
|
||||||
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
|
||||||
|
|
1
tox.ini
1
tox.ini
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user