Skip to content

Commit

Permalink
fix: add 2024 as valid date for boilerplate check
Browse files Browse the repository at this point in the history
  • Loading branch information
renzodavid9 committed Jan 29, 2024
1 parent b3c852f commit 5206bcb
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 @@ -145,7 +145,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|2021|2022|2023)' )
regexs["date"] = re.compile( '(2019|2020|2021|2022|2023|2024)' )
# strip // +build \n\n build constraints
regexs["go_build_constraints"] = re.compile(r"^(// \+build.*\n)+\n", re.MULTILINE)
# strip //go:build \n build constraints (for go1.17 and higher)
Expand Down

0 comments on commit 5206bcb

Please sign in to comment.