Skip to content

schmir/zimports.el

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MELPA

zimports

Use the python zimports package to sort your python imports.

Installation

zimports is available via melpa. Make sure the python zimports executable is on PATH.

Usage

Call zimports-buffer to sort imports in the current python buffer. Enable zimports-mode to sort imports every time you save the buffer.

Turn on zimports with dir-locals

You can turn on zimports-mode by creating a .dir-locals.el file with the following contents:

((python-mode . ((mode . zimports))))

About

Reformat python imports with zimports

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published