diff options
Diffstat (limited to 'scripts/check_sources.py')
-rwxr-xr-x | scripts/check_sources.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/check_sources.py b/scripts/check_sources.py index f625cb19..0af646db 100755 --- a/scripts/check_sources.py +++ b/scripts/check_sources.py @@ -6,7 +6,7 @@ Make sure each Python file has a correct file header including copyright and license information. - :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -33,7 +33,7 @@ def checker(*suffixes, **kwds): name_mail_re = r'[\w ]+(<.*?>)?' -copyright_re = re.compile(r'^ :copyright: Copyright 2006-2022 by ' +copyright_re = re.compile(r'^ :copyright: Copyright 2006-2023 by ' r'the Pygments team, see AUTHORS\.$') copyright_2_re = re.compile(r'^ %s(, %s)*[,.]$' % (name_mail_re, name_mail_re)) |