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 now.

On Sun, Jul 19, 2009 at 11:02 AM, Thomas Robitaille <thomas.robitaille@gmail.com> wrote:

Hi,

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):

   pass

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?

Thanks,

Tom
--
View this message in context: http://www.nabble.com/Python-bundle-and-%27Cleanup-Whitespace%27-tp24558866p24558866.html
Sent from the textmate users mailing list archive at Nabble.com.


_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate