Update tox bashate command 15/6515/1
authorNate Potter <nathaniel.potter@intel.com>
Tue, 1 Aug 2017 23:28:48 +0000 (16:28 -0700)
committerNate Potter <nathaniel.potter@intel.com>
Tue, 1 Aug 2017 23:30:09 +0000 (16:30 -0700)
Update the bashate find command to not include .pem and .cfg files.

Change-Id: I42cd4b1361e4771e52fd9ba5b77b7ffc04e86f11
Signed-off-by: Nate Potter <nathaniel.potter@intel.com>
bootstrap/vagrant-onap/tox.ini

index d4b9a20..3a2743d 100644 (file)
@@ -17,6 +17,8 @@ deps =
 whitelist_externals = bash
 commands = bash -c "find {toxinidir}/{tests,lib,tools} \
          -not \( -type f -name *.template -prune \)    \
+         -not \( -type f -name *.pem -prune \)         \
+         -not \( -type f -name *.cfg -prune \)         \
          -type f                                       \
 # E005 file does not begin with #! or have a .sh prefix
 # E006 check for lines longer than 79 columns