From 19dc466789e2f16e16c668047bfe557947a32c36 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sun, 23 Jul 2017 18:53:10 +0200 Subject: [PATCH 1/2] flake8 tests in .travis.yml --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 7b96ecb..fb7b02e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,11 @@ python: - "nightly" install: - pip install -U pip tox virtualenv codecov +before_script: + - if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then + pip install -U flake8 ; + flake8 *py src --count --select=E901,E999,F821,F822,F823 --statistics ; + fi script: - tox -e coverage after_success: From 17eb84b2a21a4f4344ce6e461faec6574d967398 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sun, 23 Jul 2017 19:38:46 +0200 Subject: [PATCH 2/2] *.py (with the dot) --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index fb7b02e..a732aa3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,7 @@ install: before_script: - if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then pip install -U flake8 ; - flake8 *py src --count --select=E901,E999,F821,F822,F823 --statistics ; + flake8 *.py src --count --select=E901,E999,F821,F822,F823 --statistics ; fi script: - tox -e coverage