From 838b28894506ef42de81340ea9e0d13f200a3fc7 Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Tue, 28 May 2013 08:12:58 +0300 Subject: 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 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 056544682..f787ccc05 100644 --- a/tox.ini +++ b/tox.ini @@ -20,7 +20,7 @@ downloadcache = ~/cache/pip [testenv:pep8] sitepackages = False commands = - flake8 + flake8 {posargs} flake8 --filename=nova* bin [testenv:pylint] -- cgit