Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 887 Bytes

README.markdown

File metadata and controls

22 lines (16 loc) · 887 Bytes

Python PEP 8

Style Guide for Python Code

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 distribution
    • public domain, by Tim Peters

Installation :

cd /Applications/TextMate.app/Contents/SharedSupport/Bundles/
git clone git://github.com/ppierre/python-pep8-tmbundle.git "Python PEP8.tmbundle"
osascript -e 'tell app "TextMate" to reload bundles'