1
Fork 0

Added flake8 and coverage

This commit is contained in:
Jake Howard 2015-12-09 22:30:52 +00:00
parent 9e1f79b6a2
commit a02c781bbe
3 changed files with 7 additions and 2 deletions

View file

@ -1,4 +1,4 @@
from django.conf.urls import include, url from django.conf.urls import url
from django_client_reverse.views import Reverser from django_client_reverse.views import Reverser
urlpatterns = [ urlpatterns = [

View file

@ -1,3 +1,5 @@
coverage==4.0.3
Django==1.8.7 Django==1.8.7
djangorestframework==3.3.1 djangorestframework==3.3.1
dj-database-url==0.3.0 dj-database-url==0.3.0
flake8==2.4.1

View file

@ -4,4 +4,7 @@ set -e
export IN_URL_TEST=true export IN_URL_TEST=true
manage.py test $@ coverage run --source=django_client_reverse manage.py test $@
flake8 django_client_reverse --ignore=E128,E501,E401
coverage html
coverage report