summaryrefslogtreecommitdiff
path: root/scripts/check_sources.py
diff options
context:
space:
mode:
authorMatthäus G. Chajdas <dev@anteru.net>2020-09-08 19:45:20 +0200
committerMatthäus G. Chajdas <dev@anteru.net>2020-09-08 19:45:20 +0200
commit98f816ae5ca7d98f388ace349a29b154fa9dc9e1 (patch)
treed0494ebb40613432ef5c157c69c722393164710e /scripts/check_sources.py
parentb6d1d68de705e1cfc28a4188f792b29c545bf7ed (diff)
parent945ed5ef268e2f3c7bbea42dfae1f8f844096f61 (diff)
downloadpygments-git-98f816ae5ca7d98f388ace349a29b154fa9dc9e1.tar.gz
Merge branch 'master' into bug/angular-html
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)