diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2018-01-22 20:27:15 +0300 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2018-01-22 20:35:21 +0300 |
commit | c7933435cc2da9e6ac9cc6f10cc0ca7ed48949ed (patch) | |
tree | 85722d9a47107a65c69f8424330166045835c222 | |
parent | 2195b7aaff01701f258792b9ffe6eafbc3734217 (diff) |
Run flake8, as well
-rw-r--r-- | .travis.yml | 2 | ||||
-rwxr-xr-x | pep8 | 2 | ||||
-rw-r--r-- | test/__init__.py | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index e54b58a..3acab0f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ sudo: false python: - "3.4" - "3.6" -install: "pip install pycodestyle dirq" +install: "pip install pycodestyle flake8 dirq" script: - ./pep8 - python -m unittest discover @@ -1,2 +1,4 @@ #!/bin/sh +set -e grep -s -l '^#!/usr/bin/env python' * calm/* test/* | xargs python3 -m pycodestyle --count --show-source --max-line-length=240 --ignore=E129,E741 +flake8 --ignore E129,E501,E741,F841 diff --git a/test/__init__.py b/test/__init__.py index 9ce127e..784e7c9 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -1 +1 @@ -from . import test_calm +__all__ = ['test_calm'] |