[ovs-dev] [PATCH v3] Travis: Added python plugins flake8 and hacking.

William Townsend wtownsen at redhat.com
Wed Jun 22 19:48:15 UTC 2016


Travis builds will now automatically run flake8 and hacking checks against
Python code and generate warnings.

Signed-off-by: William Townsend <wtownsen at redhat.com>

---
v2:
* Dropped change to .travis.yml, addition of $HOME/.location/bin to $PATH
  not needed.

v3:
* Moved both packages to the one pip install line.

 .travis/linux-prepare.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.travis/linux-prepare.sh b/.travis/linux-prepare.sh
index 752be9f..f66146b 100755
--- a/.travis/linux-prepare.sh
+++ b/.travis/linux-prepare.sh
@@ -2,4 +2,4 @@
 
 git clone git://git.kernel.org/pub/scm/devel/sparse/chrisl/sparse.git
 cd sparse && make && make install && cd ..
-pip install --disable-pip-version-check --user six
+pip install --disable-pip-version-check --user six flake8 hacking
-- 
2.5.5




More information about the dev mailing list