diff --git a/.travis.yml b/.travis.yml index 64d8c4f..99a026e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,12 @@ language: python install: - - "pip install pytest boto==$BOTO_VERSION" + - "pip install pytest boto==$BOTO_VERSION flake8" - "python setup.py develop" -script: ./_tests/run_tests.sh +script: + - flake8 . + - ./_tests/run_tests.sh sudo: false diff --git a/setup.cfg b/setup.cfg index 7239cfd..6bd51a8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,7 @@ [metadata] description-file = README.md -license = LICENSE \ No newline at end of file +license = LICENSE + +[flake8] +max-line-length = 100 +exclude = .git,__pycache__,.tox,build,dist,cleanup/*,bin/*,sbin/*,local_settings.py