From 42eecbafe687db2288126fbd4a485884e47469ef Mon Sep 17 00:00:00 2001 From: cclauss Date: Wed, 26 Jun 2019 13:57:12 +0200 Subject: [PATCH 1/2] Tox: Add flake8 tests to find Python syntax errors and undefined names --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index 9d472cabbe..eb2f2cb052 100644 --- a/tox.ini +++ b/tox.ini @@ -4,6 +4,8 @@ envlist = py27, py34, py35, py36, py37 [testenv] deps = codecov + flake8 mock commands = + flake8 . --count --select=E9,F63,F72,F82 --show-source --statistics coverage run -m unittest discover [] From 19ffb4b295379d1c2153bafd913b4643f42a4bd3 Mon Sep 17 00:00:00 2001 From: cclauss Date: Fri, 28 Jun 2019 05:18:04 +0200 Subject: [PATCH 2/2] Force a retest --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index eb2f2cb052..f1eb65b946 100644 --- a/tox.ini +++ b/tox.ini @@ -7,5 +7,5 @@ deps = flake8 mock commands = - flake8 . --count --select=E9,F63,F72,F82 --show-source --statistics + flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics coverage run -m unittest discover []