Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add automated testing #93

Closed
wants to merge 7 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Codebase is now flake8 compliant
  • Loading branch information
cclauss committed Jul 19, 2018
commit 49aaa1ea98979bd30487256ee5270cda942c46bb
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ python:
install:
- pip install flake8
script:
# stop the build if there are Python syntax errors or undefined names
- flake8 . --count --select=E901,E999,F821,F822,F823 --statistics
# exit-zero treats all errors as warnings.
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=92 --statistics
- flake8 . --count --max-complexity=10 --max-line-length=92 --statistics
notifications:
on_success: change
on_failure: change # `always` will be the setting once code changes slow down