summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Timmons <ted@perljam.net>2017-02-13 11:09:50 -0800
committerMatt Clay <matt@mystile.com>2017-02-13 11:09:50 -0800
commit23886c5c0d6d23401309a3407645f70b1cea4c67 (patch)
treea015ec2fb3231f60c42a3382384c80f449a92ed7
parent0edda106f1ad5193b6ac114331f0a0f6cc45aa65 (diff)
downloadansible-23886c5c0d6d23401309a3407645f70b1cea4c67.tar.gz
add instructions for running pep8 locally (#21120)
-rw-r--r--test/sanity/pep8/README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/sanity/pep8/README.md b/test/sanity/pep8/README.md
index 2c1f068b83..85fd2a6c66 100644
--- a/test/sanity/pep8/README.md
+++ b/test/sanity/pep8/README.md
@@ -24,3 +24,10 @@ Files listed in the [skip list](skip.txt) are not tested by `pep8`.
## Removed Files
Files which have been removed from the repository must be removed from the legacy file list and the skip list.
+
+## Running Locally
+
+The pep8 check can be run locally with:
+
+ ./test/runner/ansible-test sanity --test pep8 [file-or-directory-path-to-check] ...
+