Skip to content

Commit

Permalink
[Build] Update scalastyle config to not enforce a specific year for c…
Browse files Browse the repository at this point in the history
…opyright

Updates the scalastyle config to accept years other than 2021 in the copyright header.

Note: This doesn't specify valid vs non valid years but accepts any 4 digit number. We can be more specific if desired.

Updates one file in Kernel to be "2023" which fails without this change.

Closes delta-io#1970

Signed-off-by: Allison Portis <allison.portis@databricks.com>
GitOrigin-RevId: 36ff94b7c7dcdd0aec58c6cefadfa37417de97ef
  • Loading branch information
allisonport-db authored and tdas committed Aug 17, 2023
1 parent d19e989 commit 4815007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scalastyle-config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ This file is divided into 3 sections:
*/
\E)?\Q/*
* Copyright (2021) The Delta Lake Project Authors.
* Copyright (\E\d{4}\Q) The Delta Lake Project Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down

0 comments on commit 4815007

Please sign in to comment.