Python Tools TextMate Bundle
Installation
- Clone the repository from GitHub.
git clone https://github.com/dcramer/python-tools-tmbundle.git ~/Library/Application\ Support/TextMate/Bundles/PythonTools.tmbundle cd ~/Library/Application\ Support/TextMate/Bundles/PythonTools.tmbundle git submodule update --init git submodule foreach git pull origin master
- Reload TextMate or Navigate to Bundles -> Bundle Editor -> Reload Bundles.
PyFlakes
- Validate Syntax (⇧⌥V) validates the syntax of the file using PyFlakes and shows the results in a new window.
- Validate Syntax Quick (⌘S) same as above except that instead of a dedicated window you simply get a tooltip showing the the errors and warnings.
Credits
Based on the JavaScript Tools Bundle.