imps

Python utility to sort Python imports


Keywords
Refactoring, Imports
License
Apache-2.0
Install
pip install imps==0.2.6

Documentation

isort


Build Status

Python 2.7, 3.5, 3.6

To Install:

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