summaryrefslogtreecommitdiff
path: root/scripts/check_sources.py
diff options
context:
space:
mode:
authorMatthäus G. Chajdas <dev@anteru.net>2023-03-29 21:08:17 +0200
committerMatthäus G. Chajdas <dev@anteru.net>2023-03-29 21:11:12 +0200
commita1361035ec5f599290371f7df9f21e3f1f1420a6 (patch)
treea459276ac670adcc55d68bf4084caa5366db19d6 /scripts/check_sources.py
parent9b4af216900704b05040f6314138c8621898c10c (diff)
downloadpygments-git-a1361035ec5f599290371f7df9f21e3f1f1420a6.tar.gz
Update copyright year to 2023.
Diffstat (limited to 'scripts/check_sources.py')
-rwxr-xr-xscripts/check_sources.py4
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))