Lint check for missing commas in list literal?
23 Jul
2017
23 Jul
'17
7:13 p.m.
Hi PyCQA, I've done a little searching but have not found a lint check for the following: [ 'a', 'b' 'c' ] evaluates to ['a', 'bc'] due to implicit string concatenation, but usually it's intended to be ['a', 'b', 'c']. If it is meant to be ['a', 'bc'] it's bad style. Guido recommends popular lint tools add a rule for this here: https://groups.google.com/forum/#!msg/python-ideas/jP1YtlyJqxs/FacZu-WK_9AJ If this check does not exist, I would be willing to create a flake8 plugin and add it to PyCQA. Regards, Razzi
2389
Age (days ago)
2440
Last active (days ago)
4 comments
4 participants
participants (4)
-
Daniel Pope
-
Ian Stapleton Cordasco
-
James Broadhead
-
Razzi Abuissa