Skip to content

Commit

Permalink
use same flake8 settings with Travis CI
Browse files Browse the repository at this point in the history
- by just calling flake8 without arguments, settings in tox.ini will be
used
- call flake8 first so style failures break early
  • Loading branch information
harvimt committed Feb 17, 2015
1 parent 2d32ab6 commit 8fecc38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -58,11 +58,11 @@ install:
# flake8 style checker
- pip install flake8 pep8-naming flake8-debugger flake8-docstrings
script:
- flake8
- flake8 --select=D1 quamash/*.py
- QUAMASH_QTIMPL=PySide py.test
- QUAMASH_QTIMPL=PyQt4 py.test
- QUAMASH_QTIMPL=PyQt5 py.test
- flake8 --ignore=D1,W191,E501
- flake8 --select=D1 quamash/*.py
cache:
directories:
- /downloads
Expand Down

0 comments on commit 8fecc38

Please sign in to comment.