[code-quality] C0326 not picking up whitespace before open bracket with print

Mark McDowall mark.mcdowall at gmail.com
Tue Apr 24 04:38:20 EDT 2018


Hi,

While using pylint I have found  that having a space between 'print' and
the open bracket is allowed.

Based on the PEP8 pet peeves I would have assumed that 'print ("hello!")'
would have raised the C0326 warning.

Is there a reason why this is not the case? I can't seem to find a post
anywhere talking about allowing this.

Thank you,

Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/code-quality/attachments/20180424/11ed32b4/attachment.html>


More information about the code-quality mailing list