iNecas / reorder-python-imports.el

emacs package to automatically call reorder-python-imports

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

reorder-python-imports.el

With this package, you can call reorder-python-imports automatically before saving.

Installation and usage

Clone this repository somewhere. Then add the following to your emacs config:

(add-to-list 'load-path "~/.config/emacs-packages/reorder-python-imports.el")
(require 'reorder-python-imports)
(add-hook 'python-mode-hook 'reorder-python-imports-mode)

Credits

I copied almost all the code from proofit404’s blacken.el, so I am forever in debt to him. Cheers!

About

emacs package to automatically call reorder-python-imports

License:MIT License


Languages

Language:Emacs Lisp 100.0%