changeset 34082 | ba6e14f9a2d8 |
parent 34061 | 11499bad0359 |
child 34384 | b52f22d9afa5 |
--- a/contrib/check-code.py Wed Sep 06 10:41:13 2017 -0700 +++ b/contrib/check-code.py Wed Sep 06 08:22:54 2017 -0700 @@ -262,7 +262,7 @@ (r'(\S[ \t]+|^[ \t]+)\n', "trailing whitespace"), # (r'^\s+[^_ \n][^_. \n]+_[^_\n]+\s*=', # "don't use underbars in identifiers"), - (r'^\s+(self\.)?[A-za-z][a-z0-9]+[A-Z]\w* = ', + (r'^\s+(self\.)?[A-Za-z][a-z0-9]+[A-Z]\w* = ', "don't use camelcase in identifiers"), (r'^\s*(if|while|def|class|except|try)\s[^[\n]*:\s*[^\\n]#\s]+', "linebreak after :"),