Submitter | phabricator |
---|---|
Date | Oct. 6, 2019, 1:55 p.m. |
Message ID | <f907adcf00ac004d930a6f95f7ac53d9@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/42007/ |
State | Not Applicable |
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 @@ -286,8 +286,6 @@ # (r'^\s*print\s+', "avoid using print in core and extensions"), (r'[\x80-\xff]', "non-ASCII character literal"), (r'("\')\.format\(', "str.format() has no bytes counterpart, use %"), - (r'^\s*(%s)\s\s' % '|'.join(keyword.kwlist), - "gratuitous whitespace after Python keyword"), (r'([\(\[][ \t]\S)|(\S[ \t][\)\]])', "gratuitous whitespace in () or []"), # (r'\s\s=', "gratuitous whitespace before ="), (r'[^>< ](\+=|-=|!=|<>|<=|>=|<<=|>>=|%=)\S',