On Jun 24, 7:40 am, "Edward K. Ream" <[email protected]> wrote: > On Wed, Jun 23, 2010 at 6:16 PM, zpcspm <[email protected]> wrote: > > I have a feeling that pylint will complain at such long lines. > > So, turn such warnings off.
I will try to be more detailed. pylint complaining about long lines is actually a good idea. Especially when one has to deal with legacy code and tries to clean it up to match PEP-8. Turning off this warning globally would make pylint not complain anymore about those long lines of code. My concern primarily appeared, because right after reading your post, I realized that I don't know an easy way to leave pylint happy in this situation without any side effects. Having explicit suffixes like #pylint: disable-msg=LONG_LINE_WARNING_ID at the end of each line that contains sentinels is certainly not a nice idea. That's why I brought this up here. I saw a possible problem, wanted to share my thoughts about it with you and eventually learn a way to mitigate it (if such a way exists). -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
