Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Add a pep8 compliance test to the travis configuration

Roland Geider16fb5702b97c
diff --git a/.travis.yml b/.travis.yml
index c7e06c183..e969ebf40 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,3 +7,4 @@ install:
- python extras/scripts/create_local_settings.py
script:
- ./manage.py test tests
+ - pep8 --max-line-length=100 --exclude="urls.py" --statistics wger
diff --git a/requirements.txt b/requirements.txt
index 90f153ab8..cf7fc8987 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -5,3 +5,4 @@ reportlab
selenium
django_mobile
django-discover-runner
+pep8