pylint woes
Stephen Hansen
me+python at ixokai.io
Sat May 7 23:55:22 EDT 2016
On Sat, May 7, 2016, at 08:28 PM, DFS wrote:
> >> +-------------------------+------------+
> >> |superfluous-parens |3 | I like to surround 'or'
> >> statments with parens
> >
> > I would need examples to comment
>
>
> if ("Please choose a state" in str(matches)):
> if (var == "val" or var2 == "val2"):
Gah, don't do that. You're adding meaningless noise.
Especially in the first case.
--
Stephen Hansen
m e @ i x o k a i . i o
More information about the Python-list
mailing list