summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorgbrandl <devnull@localhost>2009-01-04 15:26:47 +0100
committergbrandl <devnull@localhost>2009-01-04 15:26:47 +0100
commit778e736ce9d0b19632cf2f18e216b12e2001d390 (patch)
tree9ff4148fe0dbd44cc8843547b76f155dc8440c1d /scripts
parent283da4a0c3beac704d79530d1517021831894739 (diff)
downloadpygments-778e736ce9d0b19632cf2f18e216b12e2001d390.tar.gz
Update copyrighting style to standard "team" tags.
Update AUTHORS file accordingly.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check_sources.py10
-rwxr-xr-xscripts/find_codetags.py4
-rw-r--r--scripts/find_error.py4
-rw-r--r--scripts/vim2pygments.py2
4 files changed, 10 insertions, 10 deletions
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
diff --git a/scripts/find_codetags.py b/scripts/find_codetags.py
index 4513af2f..e680d1bd 100755
--- a/scripts/find_codetags.py
+++ b/scripts/find_codetags.py
@@ -7,8 +7,8 @@
Find code tags in specified files and/or directories
and create a report in HTML format.
- :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
diff --git a/scripts/find_error.py b/scripts/find_error.py
index a7719b3f..42a1e095 100644
--- a/scripts/find_error.py
+++ b/scripts/find_error.py
@@ -8,8 +8,8 @@
the text where Error tokens are being generated, along
with some context.
- :copyright: 2006-2007 by Tim Hatch <tim@timhatch.com>.
- :license: BSD, see LICENSE for more details.
+ :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
"""
import sys, os
diff --git a/scripts/vim2pygments.py b/scripts/vim2pygments.py
index aa114abe..1acac14e 100644
--- a/scripts/vim2pygments.py
+++ b/scripts/vim2pygments.py
@@ -8,7 +8,7 @@
style classes meant for putting into modules.
:copyright 2006 by Armin Ronacher.
- :license: BSD, see LICENSE for more details.
+ :license: BSD, see LICENSE for details.
"""
import sys