]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
tox: Fix issues with 'bashate' target
authorStephen Finucane <stephen@that.guru>
Sun, 14 Oct 2018 16:37:02 +0000 (17:37 +0100)
committerStephen Finucane <stephen@that.guru>
Sun, 14 Oct 2018 16:38:17 +0000 (17:38 +0100)
We don't care about too long lines for bash so the error is disabled.

The version marker is removed as it's unnecessary.

Signed-off-by: Stephen Finucane <stephen@that.guru>
tox.ini

diff --git a/tox.ini b/tox.ini
index 357c7d034f8bce6c3b1dd70386041d94053e128e..df17df7e428afc7421d7344fe1fb2f786136b1e3 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -29,13 +29,13 @@ commands =
     python {toxinidir}/manage.py test --noinput '{posargs:patchwork}'
 
 [testenv:bashate]
-deps = bashate>=0.5,<0.6
+deps = bashate
 whitelist_externals = bash
 commands =
     bash -c "find {toxinidir} \
     -not \( -type d -name .?\* -prune \) \
     -not \( -type d -name db -prune \) \
-    -name \*.sh -print | xargs bashate"
+    -name \*.sh -print | xargs bashate -i E006"
 
 [testenv:pep8]
 basepython = python2.7