From 57bbb00182b3c4947428f78be6170baf6d6458a2 Mon Sep 17 00:00:00 2001 From: Hutson Betts Date: Tue, 14 Jul 2015 16:59:28 -0400 Subject: [PATCH] chore(pep8): Add pep8 lint configuration to build. --- .travis.yml | 6 ++++-- tox.ini | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 tox.ini diff --git a/.travis.yml b/.travis.yml index 832d2990285..6009a7c98f6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,11 +2,13 @@ language: python python: - "2.7" install: - - pip install flake8 stripe + - pip install pep8 --quiet + - pip install stripe - pip install -r requirements.txt - pip install coveralls +before_script: + - pep8 readthedocs/ script: - #- flake8 `find . -iname "*.py" -not -ipath "*migration*"` - ./runtests.sh after_success: - coveralls diff --git a/tox.ini b/tox.ini new file mode 100644 index 00000000000..d53e1fac01d --- /dev/null +++ b/tox.ini @@ -0,0 +1,2 @@ +[pep8] +exclude = readthedocs/api,readthedocs/betterversion,readthedocs/bookmarks,readthedocs/builds,readthedocs/comments,readthedocs/core,readthedocs/djangome,readthedocs/doc_builder,readthedocs/donate,readthedocs/gold,readthedocs/locale,readthedocs/oauth,readthedocs/privacy,readthedocs/profiles,readthedocs/projects,readthedocs/redirects,readthedocs/restapi,readthedocs/rtd_tests,readthedocs/search,readthedocs/settings,readthedocs/tastyapi,readthedocs/templates,readthedocs/vcs_support,readthedocs/urls.py,readthedocs/wsgi.py