[Pkg-bitcoin-commits] [python-quamash] 196/269: Have Travis run flake8 style checks.

Jonas Smedegaard dr at jones.dk
Fri Nov 24 11:26:33 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository python-quamash.

commit d70bff5832bdb09956c400aef5807df39a98ae04
Author: Mark Harviston <mark.harviston at gmail.com>
Date:   Mon Jan 12 20:23:01 2015 -0800

    Have Travis run flake8 style checks.
---
 .travis.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index ae281b0..a9d5048 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -47,10 +47,14 @@ install:
   - python `which pyside_postinstall.py` -install
   # Python 3.3
   - if echo $TRAVIS_PYTHON_VERSION | grep -q '^3.3'; then pip install asyncio; fi
+  # flake8 style checker
+  - pip install flake8 pep8-naming flake8-debugger flake8-docstrings
 script:
   - 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/python-quamash.git



More information about the Pkg-bitcoin-commits mailing list