6eab954afe
Helm seems to treat "!" specially in pattern matching, so having a ! in the pattern string when traversing directories is problematic. This change fixes #2737, because as far as I can tell "+" has no special meaning in a helm pattern. Of course, we can choose a different character, but I'm fond of "+" as representing "more layers here".
877 B
877 B
py-yapf.el
https://travis-ci.org/paetzke/py-yapf.el.svg?branch=master
Provides commands, which use the external yapf
tool to tidy up the current buffer according to Python's PEP8.
$ pip install git+https://github.com/google/yapf.git
$ wget https://raw.githubusercontent.com/paetzke/py-yapf.el/master/py-yapf.el \
-O /your/path/py-yapf.el
You can also install py-yapf
with MELPA:
M-x package-install RET
py-yapf RET
Add the save hook to your ~/.emacs
(add-to-list 'load-path "/your/path/")
(require 'py-yapf)
(add-hook 'python-mode-hook 'py-yapf-enable-on-save)
Now every time you save your Python file yapf
will be executed on the current buffer.