]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
flake: Restrict flake to the patchwork directory
authorDamien Lespiau <damien.lespiau@intel.com>
Tue, 22 Sep 2015 15:09:10 +0000 (16:09 +0100)
committerStephen Finucane <stephen.finucane@intel.com>
Mon, 26 Oct 2015 20:44:23 +0000 (20:44 +0000)
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@intel.com>
Acked-by: Stephen Finucane <stephen.finucane@intel.com>
tox.ini

diff --git a/tox.ini b/tox.ini
index 53d067e15f406d2c4e1a02ac0e6c1e1f22b7a54c..d7eb5b0b50c84f6762f2d2d5d25e1d1fb3267f6c 100644 (file)
--- 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