From 77df532e10fac3cc18d1c4c6e505af8778ab5854 Mon Sep 17 00:00:00 2001 From: Gal Sagie Date: Mon, 13 Apr 2015 09:41:17 +0300 Subject: [PATCH] Additions to TESTING.rst Small addition on how to run pep8 tests only for latest patch set. Change-Id: I07fa2c633d17acd1284ccd726a99a46414100ba3 --- TESTING.rst | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.45.2