From: Gal Sagie Date: Mon, 13 Apr 2015 06:41:17 +0000 (+0300) Subject: Additions to TESTING.rst X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=77df532e10fac3cc18d1c4c6e505af8778ab5854;p=openstack-build%2Fneutron-build.git Additions to TESTING.rst Small addition on how to run pep8 tests only for latest patch set. Change-Id: I07fa2c633d17acd1284ccd726a99a46414100ba3 --- diff --git a/TESTING.rst b/TESTING.rst index 8afe4ec95..f6ea40844 100644 --- a/TESTING.rst +++ b/TESTING.rst @@ -194,6 +194,11 @@ To run only pep8:: tox -e pep8 +Since pep8 includes running pylint on all files, it can take quite some time to run. +To restrict the pylint check to only the files altered by the latest patch changes:: + + tox -e pep8 HEAD~1 + To run only the unit tests:: tox -e py27