Submitter | phabricator |
---|---|
Date | Aug. 19, 2021, 6:12 p.m. |
Message ID | <differential-rev-PHID-DREV-zj47xgjzvwg4i26ch274-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/49623/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/contrib/check-code.py b/contrib/check-code.py --- a/contrib/check-code.py +++ b/contrib/check-code.py @@ -340,11 +340,6 @@ (r'[^\n]\Z', "no trailing newline"), (r'(\S[ \t]+|^[ \t]+)\n', "trailing whitespace"), ( - r'^\s+(self\.)?[A-Za-z][a-z0-9]+[A-Z]\w* = ', - "don't use camelcase in identifiers", - r'#.*camelcase-required', - ), - ( r'^\s*(if|while|def|class|except|try)\s[^[\n]*:\s*[^\\n]#\s]+', "linebreak after :", ),