aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-01-05 07:35:27 -0800
committerGravatar Craig Tiller <ctiller@google.com>2016-01-05 07:35:27 -0800
commitb0d8f686c50f4c2b05473b8d73d82b544d39743f (patch)
treeb8d9aa69d2a2072598b17865db55ec742237fe0a /tools
parent9bda5a8f0be644e275a69efbc409a3b23a3bfbb7 (diff)
parent2e8c2ef7dc4148f917a3f18f0bb1878e5a8ef6ce (diff)
Merge pull request #4613 from soltanmm/writecopyright
Add Cython files to check_copyright.py
Diffstat (limited to 'tools')
-rwxr-xr-xtools/distrib/check_copyright.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/distrib/check_copyright.py b/tools/distrib/check_copyright.py
index 6c66a29180..2d46143585 100755
--- a/tools/distrib/check_copyright.py
+++ b/tools/distrib/check_copyright.py
@@ -72,6 +72,9 @@ LICENSE_PREFIX = {
'.php': r'\s*\*\s*',
'.js': r'\s*\*\s*',
'.py': r'#\s*',
+ '.pyx': r'# %s',
+ '.pxd': r'# %s',
+ '.pxi': r'# %s',
'.rb': r'#\s*',
'.sh': r'#\s*',
'.proto': r'//\s*',