Skip to content

Commit

Permalink
hack: ignore cluster/env.sh in boilerplate check
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mikedanese committed Jan 13, 2016
1 parent a47c170 commit a6589f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/boilerplate/boilerplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a6589f7

Please sign in to comment.