<div dir="ltr"><div dir="ltr">On Wed, Feb 20, 2019 at 11:51 PM Lele Gaifax <<a href="mailto:lele@metapensiero.it">lele@metapensiero.it</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">that most annoys me is the "if" when the condition is very long, because my<br>
eyes suffer when I see the following:<br></blockquote><div><br></div><div>yup --  "if (" is four spaces -- exactly one indentation level -- that is really painful.</div><div><br></div><div>I've got to figure out how to get flake8 to stop yelling at me for making that more readable :-)</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">of difference between the continued condition elements and the succeeding<br>
suite:<br>
<br>
  if ((condition1<br>
       and condition2<br>
       and condition3)):<br>
      do_something()<br></blockquote><div><br></div><div>ouch! ehy not jsut do:</div><div><br></div><div><font face="monospace, monospace">if (condition1<br>      and condition2<br>      and condition3)):</font></div><div><font face="monospace, monospace">    do_something()</font><br></div><div><br></div><div>(or any number of other options)</div><div><br></div><div>and teach your linter that that's OK (or ignore your linter)</div><div><br></div><div>-CHB</div><div><br></div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Christopher Barker, PhD<br><br> Python Language Consulting<br>  - Teaching<br>  - Scientific Software Development<br>  - Desktop GUI and Web Development<br>  - wxPython, numpy, scipy, Cython<br></div></div>