From a6589f7d384c9f888fd6e5fb328633b945b88a53 Mon Sep 17 00:00:00 2001 From: Mike Danese Date: Tue, 12 Jan 2016 22:04:25 -0800 Subject: [PATCH] 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 --- hack/boilerplate/boilerplate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/boilerplate/boilerplate.py b/hack/boilerplate/boilerplate.py index b065e80b045..7b1ff435ecf 100755 --- a/hack/boilerplate/boilerplate.py +++ b/hack/boilerplate/boilerplate.py @@ -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: