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: <a href="http://github.com/ppierre/python-pep8-tmbundle/">http://github.com/ppierre/python-pep8-tmbundle/</a>. 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 now.<br>
<br><div class="gmail_quote">On Sun, Jul 19, 2009 at 11:02 AM, Thomas Robitaille <span dir="ltr"><<a href="mailto:thomas.robitaille@gmail.com">thomas.robitaille@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi,<br>
<br>
The 'Cleanup Whitespace' command in the Python bundle is very useful but is<br>
cleaning up some whitespace that causes errors when I check for compliance<br>
with PEP8. In the following code:<br>
<br>
class test(object):<br>
<br>
pass<br>
<br>
PEP requires that the second line has no spaces, whereas 'Cleanup<br>
Whitespace' adds 4. Would it be easy to fix this to be compliant with PEP?<br>
<br>
Thanks,<br>
<br>
Tom<br>
--<br>
View this message in context: <a href="http://www.nabble.com/Python-bundle-and-%27Cleanup-Whitespace%27-tp24558866p24558866.html" target="_blank">http://www.nabble.com/Python-bundle-and-%27Cleanup-Whitespace%27-tp24558866p24558866.html</a><br>
Sent from the textmate users mailing list archive at Nabble.com.<br>
<br>
<br>
_______________________________________________<br>
textmate mailing list<br>
<a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>
<a href="http://lists.macromates.com/listinfo/textmate" target="_blank">http://lists.macromates.com/listinfo/textmate</a><br>
</blockquote></div><br>