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 d0648892ce
commit f493a2d0b2
1 changed files with 1 additions and 1 deletions

View File

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