Skip to content

Commit

Permalink
Adds hound configuration file.
Browse files Browse the repository at this point in the history
This commit lets Hound do the PEP8 checks, not Travis.
  • Loading branch information
jfinkels committed Oct 6, 2016
1 parent 52c5125 commit 2fba66b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .hound.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
fail_on_violations: true

python:
enabled: true
7 changes: 1 addition & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ install:
fi
# Install the requirements specific to Travis tests.
- pip install -r requirements-doc.txt
- pip install flake8 coveralls
- pip install coveralls
# Install Flask-Restless so that it is available for the documentation build.
- python setup.py install

Expand All @@ -65,11 +65,6 @@ before_script:
- psql -c 'create database testdb;' -U postgres

script:
# Code style checks. Flake8 doesn't support Python 2.6.
- |
if [[ "$TRAVIS_PYTHON_VERSION" != "2.6" ]]; then
find flask_restless/ tests/ examples/ setup.py -type f -name \*.py -print0 | xargs -0 flake8
fi
# Documentation build checks.
- sphinx-build -n -W docs/ build/sphinx/html/
# Unit tests.
Expand Down

0 comments on commit 2fba66b

Please sign in to comment.