summaryrefslogtreecommitdiff
path: root/scripts/check_sources.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2019-05-28 07:00:40 +0200
committerGeorg Brandl <georg@python.org>2019-05-28 07:00:40 +0200
commit597020d4ce90505dad8b850eadafd20f06bf1dc9 (patch)
tree94223979d3eb47e3076a6996889a42947fabcfd7 /scripts/check_sources.py
parentabb7caf1f9cad956089bde817daa5a2eee8959a1 (diff)
downloadpygments-git-2.4.2.tar.gz
Fixup all headers and some more minor problems.2.4.2
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 c0524b6c..f047168c 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-2017 by the Pygments team, see AUTHORS.
+ :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
@@ -36,7 +36,7 @@ def checker(*suffixes, **kwds):
name_mail_re = r'[\w ]+(<.*?>)?'
-copyright_re = re.compile(r'^ :copyright: Copyright 2006-2017 by '
+copyright_re = re.compile(r'^ :copyright: Copyright 2006-2019 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)