Submitter | phabricator |
---|---|
Date | Oct. 5, 2019, 3:01 p.m. |
Message ID | <differential-rev-PHID-DREV-kuzrcomxt6t35wqny7da-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/41978/ |
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 @@ -280,7 +280,6 @@ (r'\b(%s)\(' % '|'.join(k for k in keyword.kwlist if k not in ('print', 'exec')), "Python keyword is not a function"), - (r',]', "unneeded trailing ',' in list"), # (r'class\s[A-Z][^\(]*\((?!Exception)', # "don't capitalize non-exception classes"), # (r'in range\(', "use xrange"),