]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Additions to TESTING.rst
authorGal Sagie <gal.sagie@huawei.com>
Mon, 13 Apr 2015 06:41:17 +0000 (09:41 +0300)
committerGal Sagie <gal.sagie@huawei.com>
Mon, 13 Apr 2015 11:27:19 +0000 (14:27 +0300)
Small addition on how to run pep8 tests only for latest
patch set.

Change-Id: I07fa2c633d17acd1284ccd726a99a46414100ba3

TESTING.rst

index 8afe4ec95f7189f4c853f75308c9732de0c8ce52..f6ea4084419d3f467975f4115f3dc7203b5371c0 100644 (file)
@@ -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