[TxMt] Re: Python bundle and 'Cleanup Whitespace'
powdahound at gmail.com
Sun Jul 19 19:15:23 UTC 2009
I can't provide any input on fixing the Python bundle but I'd like to
suggest that you check out the PEP8 bundle someone made:
http://github.com/ppierre/python-pep8-tmbundle/. In addition to doing PEP8
validation it has a 'reindent' command that fixes many whitespace issues. It
may be a good replacement for the 'Cleanup Whitespace' command you're using
On Sun, Jul 19, 2009 at 11:02 AM, Thomas Robitaille <
thomas.robitaille at gmail.com> wrote:
> The 'Cleanup Whitespace' command in the Python bundle is very useful but is
> cleaning up some whitespace that causes errors when I check for compliance
> with PEP8. In the following code:
> class test(object):
> PEP requires that the second line has no spaces, whereas 'Cleanup
> Whitespace' adds 4. Would it be easy to fix this to be compliant with PEP?
> View this message in context:
> Sent from the textmate users mailing list archive at Nabble.com.
> textmate mailing list
> textmate at lists.macromates.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the textmate