Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-rest-framework
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
django-rest-framework
Commits
19f31340
Commit
19f31340
authored
Aug 19, 2014
by
Tom Christie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add flake8 to requirements
parent
bf09c32d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
.travis.yml
+1
-0
requirements-test.txt
+1
-0
tox.ini
+1
-0
No files found.
.travis.yml
View file @
19f31340
...
@@ -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"
...
...
requirements-test.txt
View file @
19f31340
...
@@ -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
...
...
tox.ini
View file @
19f31340
...
@@ -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]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment