diff options
author | Georg Brandl <georg@python.org> | 2017-01-22 17:53:46 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2017-01-22 17:53:46 +0000 |
commit | 0e2314f0cebe65594af7a1eb0b2164cce827558c (patch) | |
tree | d1d8595b8f78cc5949bba6a7634ecddd4e675d0e /scripts/check_sources.py | |
parent | 045732d3501cdb693537145393bc25411a4eeb84 (diff) | |
parent | b1bad5b7f9f574a6345587fad2850b18b2707eb7 (diff) | |
download | pygments-0e2314f0cebe65594af7a1eb0b2164cce827558c.tar.gz |
Merged in belak/pygments-main/lexer-delphi-dpr-ext (pull request #655)
Match .dpr files as Delphi
Diffstat (limited to 'scripts/check_sources.py')
-rwxr-xr-x | scripts/check_sources.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/check_sources.py b/scripts/check_sources.py index 4f5926f6..db09de42 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-2015 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2017 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-2015 by ' +copyright_re = re.compile(r'^ :copyright: Copyright 2006-2017 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) |