Permalink
Browse files

[Fix Bug 951445] Run flake8 on Jenkins

  • Loading branch information...
1 parent 2befca1 commit ee5e8d095b969eb348b2c29754fe7962974f108a @Sancus Sancus committed Dec 19, 2013
Showing with 10 additions and 0 deletions.
  1. +5 −0 bin/jenkins.sh
  2. +1 −0 requirements/dev.txt
  3. +4 −0 setup.cfg
View
@@ -31,6 +31,8 @@ pip install -r requirements/dev.txt
pip install -r requirements/compiled.txt
cat > mozillians/settings/local.py <<SETTINGS
+# flake8: noqa
+
ROOT_URLCONF = 'mozillians.urls'
DOMAIN = "localhost"
PROTOCOL = "http://"
@@ -93,6 +95,9 @@ echo "Updating product details."
python manage.py update_product_details
+echo "Check PEP-8"
+flake8 mozillians
+
echo "Starting tests..."
export FORCE_DB=1
View
@@ -8,6 +8,7 @@
Sphinx==1.1.3
# Testing
+flake8==2.1.0
nose==1.0.0
mock==0.8.0
-e git://github.com/jbalogh/django-nose.git#egg=django_nose
View
@@ -0,0 +1,4 @@
+[flake8]
+ignore=E121,E123,E124,E125,E126
+max-line-length=100
+exclude=migrations

0 comments on commit ee5e8d0

Please sign in to comment.