#!/bin/bash
set -ex

# debug version
pylint --version

coverage run --source=xapi ./manage.py test xapi
coverage report -m
coverage run --source=ecoapi ./manage.py test ecoapi
coverage report -m
coverage run --source=oai ./manage.py test oai
coverage report -m
pep8 --config=.pep8 --exclude=track,edxmako,course_modes,util,static_replace,external_auth,third_party_auth,student,xblock_django,microsite_configuration,certificates,branding,courseware,psychometrics,verify_student
pylint --rcfile=.pylintrc ecoapi --report=no
pylint --rcfile=.pylintrc xapi --report=no
pylint --rcfile=.pylintrc oai --report=no

#!/bin/bash
set -ex

# debug version
pylint --version

coverage run --source=xapi ./manage.py test xapi
coverage report -m
coverage run --source=ecoapi ./manage.py test ecoapi
coverage report -m
coverage run --source=oai ./manage.py test oai
coverage report -m
pep8 --config=.pep8
pylint --rcfile=.pylintrc ecoapi --report=no
pylint --rcfile=.pylintrc xapi --report=no
pylint --rcfile=.pylintrc oai --report=no

--- 
+++ 
@@ -10,7 +10,7 @@
 coverage report -m
 coverage run --source=oai ./manage.py test oai
 coverage report -m
-pep8 --config=.pep8
+pep8 --config=.pep8 --exclude=track,edxmako,course_modes,util,static_replace,external_auth,third_party_auth,student,xblock_django,microsite_configuration,certificates,branding,courseware,psychometrics,verify_student
 pylint --rcfile=.pylintrc ecoapi --report=no
 pylint --rcfile=.pylintrc xapi --report=no
 pylint --rcfile=.pylintrc oai --report=no
Exclude edx dependencies installed app from pep8
