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
commit0eca5a9db1b3c1f169f3fabda9fe9b72876a6056 (patch)
treee726dacdc08cff04bfa8cbe4bad9cc4db471db79 /scripts/check_sources.py
parentffc920fcaaa6e220be32e07db7e3d001dc9a4f03 (diff)
downloadpygments-0eca5a9db1b3c1f169f3fabda9fe9b72876a6056.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)