Add posargs support to flake8 call

Add posargs to flake8 call in tox.ini, with this you can pass arguments
directly into flake8 using the following notation
  tox -epep8 -- --FLAKE8-ARG

Change-Id: I1296eac3df46438ef050bf99ca33eb38d3b02efa
This commit is contained in:
Joe Gordon 2013-05-28 08:12:58 +03:00
parent 27948ffa5f
commit 838b288945

View File

@ -20,7 +20,7 @@ downloadcache = ~/cache/pip
[testenv:pep8]
sitepackages = False
commands =
flake8
flake8 {posargs}
flake8 --filename=nova* bin
[testenv:pylint]