diff -r b98ee1a808bd -r ac641a41f98d contrib/check-code.py --- a/contrib/check-code.py Wed May 03 11:16:55 2017 +0900 +++ b/contrib/check-code.py Mon May 01 17:10:22 2017 +0900 @@ -492,7 +492,7 @@ checks = [ ('python', r'.*\.(py|cgi)$', r'^#!.*python', pyfilters, pypats), ('python', r'.*hgext.*\.py$', '', [], pyextnfpats), - ('python 3', r'.*(hgext|mercurial).*(?