Releases: jason-kane/PyYapf
Sublime Text 2 support restored
This was broken a long while back but I didn't notice. Now it is at least mostly functioning in Sublime Text v2. I do see a cosmetic oddity of black space at the top of the file that goes away as soon as you scroll and the editor redraws. There is also a minor annoyance in it putting you at the top of the file when you reformat. Working is better than broken so here you go.
Two versions in one day? Preposterous.
@catch22 gave the plugin a very solid once-over giving us multiple improvements and a more readable implementation.
stdin to yapf, styles default to yapf with optional overrides
Readme updated, added LICENSE file (apache 2)
v0.8.1 Updated Readme, added LICENSE
Updated for current Yapf options
Update PyYapf.sublime-settings comment out SPLIT_PENALTY_MATCHING_BRACKET to get things working. I still need to update my own yapf to bleeding edge and poke around to see what all the "new" options are.
PyYapf -- just for python
Thanks to Sandeep Rao -- Sublime will only show pyyapf on python files and a nice context menu entry.
ST 3 support and encoding support within yapf
with a shoutout to @asfaltboy for both these changes
Encodings and smarter errors
Merge pull request #3 from jason-kane/encodings handle encodings MUCH better, use error message content to position view
External call to yapf
Necessary for long term maintainability. This way we are almost entirely separate from the yapf release cycle.
Renamed and submitted to Package Control
v0.3.0 Rename from SublimePyYapf to PyYapf (to match Sublime conventions)