From 5a093488c36a3a1a861607d7f102fe1fa91be3d6 Mon Sep 17 00:00:00 2001
From: Steven Dake <stdake@cisco.com>
Date: Thu, 28 May 2015 08:45:59 -0700
Subject: [PATCH] Remove 1000 bashate failures by ignoring .git directory

Change-Id: I64f04bddf2d7fac1c6dd0a801b974501b24f3ac0
Partially-Implements: blueprint bashate-gate
---
 tox.ini | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tox.ini b/tox.ini
index bda27a849f..ab01628897 100644
--- a/tox.ini
+++ b/tox.ini
@@ -18,7 +18,7 @@ deps = bashate
 whitelist_externals = bash
 # tox improperly interprets # and {1} in regex, so match on [[:punct:]]+
 commands =
-    bash -c "files=`egrep -rlI '^[[:punct:]]+!/(bin/|/usr/bin/env )(ba)?sh' .` && bashate $files"
+    bash -c "files=`egrep -rlI --exclude-dir .git '^[[:punct:]]+!/(bin/|/usr/bin/env )(ba)?sh' .` && bashate $files"
 
 [testenv:setupenv]
 whitelist_externals = bash