[PATCH] flake: Restrict flake to the patchwork directory

Damien Lespiau damien.lespiau at intel.com
Wed Sep 23 01:09:10 AEST 2015


Right now flake will inspect everything in the root directory. We can
avoid a bit of work, telling it to only look at the patchwork/
directory.

Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
 tox.ini | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tox.ini b/tox.ini
index 891fc5e..3b59ddb 100644
--- a/tox.ini
+++ b/tox.ini
@@ -22,7 +22,7 @@ passenv =
 [testenv:pep8]
 basepython = python2.7
 deps = flake
-commands = flake8 {posargs}
+commands = flake8 {posargs} patchwork
 
 [flake8]
 ignore = E121,E122,E123,E124,E125,E126,E127,E128,E129,E131,E251,H405
-- 
2.1.0



More information about the Patchwork mailing list