mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
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:
parent
a47c170377
commit
a6589f7d38
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user