- Check source code formatting, according to : PEP 8
- Use pep8.py
Copyright (C) 2006 Johann C. Rocholl <[email protected]>
Usage : Use checkbook in upper-right to toggle display of code and PEP recommendation. Put list of error code to hide in textfield.
- Command for formating to 4-space indents, no hard tab characters and triming excess spaces
- Use
reindent.py
script from Python distributionpublic domain, by Tim Peters
cd ~/Library/Application\ Support/TextMate/Bundles/
git clone git://github.com/ppierre/python-pep8-tmbundle.git "Python PEP8.tmbundle"
osascript -e 'tell app "TextMate" to reload bundles'