Skip to content

Commit

Permalink
Merge pull request #26 from Tarrasch/patch-1
Browse files Browse the repository at this point in the history
README: Add section about flake8-import-order
  • Loading branch information
gforcada committed Jan 3, 2017
2 parents dbc3fd2 + 525d668 commit 2eb59ac
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,17 @@ Requirements
- flake8
- isort

Relaion to flake8-import-order
------------------------------

As an alternative to this flake8 plugin, there's `flake8-import-order`_ that could be worth checking out. In contrast to this plugin that defers all logic to isort, the flake8-import-order comes bundled with it's own logic.

flake8-import-order comes with a few predefined set of styles meanwhile this plugin can be customized a bit more. But the biggest difference could lie in that flake8-isort actually has the corresponding sorting engine isort that can sort the import orders of your existing python files. Meanwhile flake8-import-order has no such corresponding tool, hence big existing projects who want to adopt either would get a more automized experience choosing flake8-isort.

License
-------
GPL 2.0

.. _`isort`: https://pypi.python.org/pypi/isort
.. _`isort documentation`: https://github.com/timothycrosley/isort/wiki/isort-Settings
.. _`flake8-import-order`: https://pypi.python.org/pypi/flake8-import-order

0 comments on commit 2eb59ac

Please sign in to comment.