summaryrefslogtreecommitdiff
path: root/scripts/check_sources.py
diff options
context:
space:
mode:
authorMatthäus G. Chajdas <dev@anteru.net>2020-08-22 16:08:07 +0200
committerMatthäus G. Chajdas <dev@anteru.net>2020-08-22 16:08:07 +0200
commit5bd2a84bc1db0120828606c900a14276414fecdc (patch)
tree647b5c2241c779c3881df2a8b77f4597cda2e42b /scripts/check_sources.py
parent8d75653a28737b375899df0f63f1e087303a66e0 (diff)
downloadpygments-git-5bd2a84bc1db0120828606c900a14276414fecdc.tar.gz
Update copyright year (fixes #1514.)
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 57151192..4c0a27b5 100755
--- a/scripts/check_sources.py
+++ b/scripts/check_sources.py
@@ -7,7 +7,7 @@
Make sure each Python file has a correct file header
including copyright and license information.
- :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS.
+ :copyright: Copyright 2006-2020 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
@@ -34,7 +34,7 @@ def checker(*suffixes, **kwds):
name_mail_re = r'[\w ]+(<.*?>)?'
-copyright_re = re.compile(r'^ :copyright: Copyright 2006-2019 by '
+copyright_re = re.compile(r'^ :copyright: Copyright 2006-2020 by '
r'the Pygments team, see AUTHORS\.$', re.UNICODE)
copyright_2_re = re.compile(r'^ %s(, %s)*[,.]$' %
(name_mail_re, name_mail_re), re.UNICODE)