From 778e736ce9d0b19632cf2f18e216b12e2001d390 Mon Sep 17 00:00:00 2001 From: gbrandl Date: Sun, 4 Jan 2009 15:26:47 +0100 Subject: Update copyrighting style to standard "team" tags. Update AUTHORS file accordingly. --- scripts/check_sources.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'scripts/check_sources.py') diff --git a/scripts/check_sources.py b/scripts/check_sources.py index f9f0bd13..8772bbee 100755 --- a/scripts/check_sources.py +++ b/scripts/check_sources.py @@ -7,8 +7,8 @@ Make sure each Python file has a correct file header including copyright and license information. - :copyright: 2006-2007 by Georg Brandl. - :license: GNU GPL, see LICENSE for more details. + :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS. + :license: BSD, see LICENSE for details. """ import sys, os, re @@ -30,8 +30,8 @@ def checker(*suffixes, **kwds): name_mail_re = r'[\w ]+(<.*?>)?' -copyright_re = re.compile(r'^ :copyright: 200\d(-200\d)? by %s(, %s)*[,.]$' % - (name_mail_re, name_mail_re), re.UNICODE) +copyright_re = re.compile(r'^ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS. + r'see AUTHORS\.$', re.UNICODE) copyright_2_re = re.compile(r'^ %s(, %s)*[,.]$' % (name_mail_re, name_mail_re), re.UNICODE) coding_re = re.compile(r'coding[:=]\s*([-\w.]+)') @@ -126,7 +126,7 @@ def check_fileheader(fn, lines): # check for copyright and license fields license = llist[-2:-1] - if license != [" :license: BSD, see LICENSE for more details.\n"]: + if license != [" :license: BSD, see LICENSE for details.\n"]: yield 0, "no correct license info" ci = -3 -- cgit v1.2.1