Skip to content
Sort your imports
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
imps
.gitignore
.travis.yml
README.rst
imps.png
license
requirements.txt
run
setup.cfg
setup.py
tox.ini

README.rst

isort


Build Status

Python 2.7, 3.5, 3.6

To Install:

pip install imps

or

python setup.py install

Why?

It sorts your imports and is designed to work with this flake8-import-order plugin It differs from Isort as it is more opinionated and does not require config as it works out what to do by reading your setup.cfg

Usage:

imps <file_name or path>

imps <file_name or path> - s style

where style is smarkets / crypto / google

To Run Tests:

pytest

Note if you run tests in Pycharm: Specify test as type: py.test

Is it ready:

Mostly,

To Run Tox locally:

Tests: tox -e tests Flake8: tox -e flake8

You can’t perform that action at this time.