From 503a63891aadd7daf96e530470165a8e24335fca Mon Sep 17 00:00:00 2001 From: gsquared94 Date: Thu, 7 Jan 2021 13:41:07 -0800 Subject: [PATCH] Update boilerplate.py year check. --- 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 3e6e1cdb062..7cc29e24069 100644 --- a/hack/boilerplate/boilerplate.py +++ b/hack/boilerplate/boilerplate.py @@ -143,7 +143,7 @@ def get_regexs(): # Search for "YEAR" which exists in the boilerplate, but shouldn't in the real thing regexs["year"] = re.compile( 'YEAR' ) # dates can be 2018, company holder names can be anything - regexs["date"] = re.compile( '(2019|2020)' ) + regexs["date"] = re.compile( '(2019|2020|2021)' ) # strip // +build \n\n build constraints regexs["go_build_constraints"] = re.compile(r"^(// \+build.*\n)+\n", re.MULTILINE) # strip #!.* from shell scripts