Mercurial > hg-stable
diff contrib/check-code.py @ 23139:e53f6b72a0e4
spelling: fixes from proofreading of spell checker issues
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Thu, 17 Apr 2014 22:47:38 +0200 |
parents | 22e76e370611 |
children | 30b016ef4bd8 |
line wrap: on
line diff
--- a/contrib/check-code.py Sun Nov 02 13:08:46 2014 +0900 +++ b/contrib/check-code.py Thu Apr 17 22:47:38 2014 +0200 @@ -291,7 +291,7 @@ "always assign an opened file to a variable, and close it afterwards"), (r'[\s\(](open|file)\([^)]*\)\.', "always assign an opened file to a variable, and close it afterwards"), - (r'(?i)descendent', "the proper spelling is descendAnt"), + (r'(?i)descend[e]nt', "the proper spelling is descendAnt"), (r'\.debug\(\_', "don't mark debug messages for translation"), (r'\.strip\(\)\.split\(\)', "no need to strip before splitting"), (r'^\s*except\s*:', "naked except clause", r'#.*re-raises'),