SublimePythonTidy
SublimePythonTidy copied to clipboard
A Sublime Text 2 plugin for PythonTidy integration
reloading plugin PythonTidy.Tidy Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 73, in reload_plugin m = importlib.import_module(modulename) File "X/importlib/**init**.py", line 88, in import_module File "", line 1577, in _gcd_import File...
The current code took the (unicode) view and stuffed it into a `StringIO` byte stream. The resulting encoding being seen by PythonTidy was dependent on the configuration of the system...
When you're using virtualenv, SPT changing interpreter path from "#!/usr/bin/env python" to "#!/usr/bin/python" on tidy is rather undesirable. /usr/bin/env is there for a reason.
Tidy works great, with default settings, until I put a file at ~/.pythontidy.xml Both the produced config and example config from SublimePythonTidy readme prevents tidying. ``` ``` The above also...
SublimePythonTidy seems to depend on PythonTidy, but does not support instructions how to configure one. This shows on console when trying to execute PythonTidy ``` Reloading plugin /Users/moo/Library/Application Support/Sublime Text...
The following ~/.pythontidy.xml throws traceback when plugin is being run. ``` ```
Let's have this content in new SublimeText window: ``` # -*- coding: utf-8 -*- print "Ahoj světe" ``` Invoking PythonTidy generates this traceback in console: ``` Traceback (most recent call...
Running tidy strips the decorators out of my python files. I feel like I should say more here, but that pretty much covers it..