mozilla / fireplay-sublime

A fantastic plugin connecting your favorite editor with your favorite web debugger
47 stars 9 forks source link

Proper line wrap for docstrings etc. #36

Closed fwenzel closed 10 years ago

fwenzel commented 10 years ago

docstrings are: always triple quotes (you did that right), and if they are multi-line, they are indented differently than you did. Here's the whole description: http://legacy.python.org/dev/peps/pep-0257/

If you need them later, you can postprocess somefunction.__doc__ with textwrap.dedent.

nicola commented 10 years ago

MozClient has been left untouched from https://github.com/paulrouget/firefox-remote-styleEditors/blob/master/libs/client.py

Maybe suggesting them there too?

fwenzel commented 10 years ago

Thanks! Didn't know it was from upstream.

nicola commented 10 years ago

Thing is that due to issues #13 #14, I will eventually move from that library into @campd's one