hack: ignore cluster/env.sh in boilerplate check

This is used for user configuration overrides in cluster/. We should not
enforce the boilerplate headers in this file.

Signed-off-by: Mike Danese <mikedanese@google.com>
This commit is contained in:
Mike Danese 2016-01-12 22:04:25 -08:00
parent a47c170377
commit a6589f7d38

View File

@ -95,7 +95,7 @@ def file_passes(filename, refs, regexs):
def file_extension(filename):
return os.path.splitext(filename)[1].split(".")[-1].lower()
skipped_dirs = ['Godeps', 'third_party', '_gopath', '_output', '.git']
skipped_dirs = ['Godeps', 'third_party', '_gopath', '_output', '.git', 'cluster/env.sh']
def normalize_files(files):
newfiles = []
for pathname in files: