Skip to content

Commit

Permalink
Consolidate pylint and trap bad TEST_SUITE options.
Browse files Browse the repository at this point in the history
  • Loading branch information
gwax committed Feb 19, 2016
1 parent f05ab24 commit 51cb855
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ script: |
if [ "${TEST_SUITE}" = "test" ]; then
py.test --cov=mtg_ssm --strict -r w tests;
elif [ "${TEST_SUITE}" = "lint" ]; then
pylint --rcfile=pylintrc mtg_ssm;
pylint --rcfile=pylintrc --disable=similarities tests;
pylint --rcfile=pylintrc mtg_ssm tests;
flake8 --ignore=E501,F401,F841 *.py mtg_ssm tests;
else
error_without_calling_exit;
fi
# - pandoc --from=markdown --to=rst README.md | diff DESCRIPTION.rst -

Expand Down

0 comments on commit 51cb855

Please sign in to comment.