--- a/contrib/check-code.py Wed Apr 16 03:05:00 2014 +0900
+++ b/contrib/check-code.py Wed Apr 16 03:05:00 2014 +0900
@@ -207,8 +207,8 @@
(r'\s<>\s', '<> operator is not available in Python 3+, use !='),
(r'^\s*\t', "don't use tabs"),
(r'\S;\s*\n', "semicolon"),
- (r'[^_]_\((?:"[^"]+"[ \t\n+]*)+%', "don't use % inside _()"),
- (r"[^_]_\((?:'[^']+'[ \t\n+]*)+%", "don't use % inside _()"),
+ (r'[^_]_\([ \t\n]*(?:"[^"]+"[ \t\n+]*)+%', "don't use % inside _()"),
+ (r"[^_]_\([ \t\n]*(?:'[^']+'[ \t\n+]*)+%", "don't use % inside _()"),
(r'(\w|\)),\w', "missing whitespace after ,"),
(r'(\w|\))[+/*\-<>]\w', "missing whitespace in expression"),
(r'^\s+(\w|\.)+=\w[^,()\n]*$', "missing whitespace in assignment"),