Skip to content
TextMate bundle : Check Python source code formatting, according to PEP-8
Python JavaScript
Find file
Latest commit 85497e3 Dec 6, 2012 @ppierre Merge pull request #7 from njvack/fix_reindent_tm2
Fix reindent command for textmate 2
Failed to load latest commit information.
Commands Fix reindent command for textmate 2 Nov 16, 2012
Vendor Adding updated version of Sep 20, 2011
.gitignore ignore *.pyc Mar 11, 2009
README.markdown update usage for hiding error (fix) Jul 8, 2010
info.plist initial commit Mar 10, 2009


Python PEP 8

Style Guide for Python Code

  • Check source code formatting, according to : PEP 8
  • Use
    • Copyright (C) 2006 Johann C. Rocholl <>

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

Installation :

cd ~/Library/Application\ Support/TextMate/Bundles/
git clone git:// "Python PEP8.tmbundle"
osascript -e 'tell app "TextMate" to reload bundles'
Something went wrong with that request. Please try again.