A Python utility / library to sort Python imports.

Edit Package python-isort

isort your python imports for you so you don’t have to.

isort is a Python utility / library to sort imports alphabetically, and automatically separated into sections. It provides a command line utility, Python library and plugins for various editors to quickly sort all your imports. It currently cleanly supports Python 2.6 - 3.5 using pies to achieve this without ugly hacks and/or py2to3.

Refresh
Refresh
Source Files
Filename Size Changed
_multibuild 0000000053 53 Bytes
isort-5.4.2-gh.tar.gz 0000600210 586 KB
isort-5.4.2.tar.gz 0000129085 126 KB
python-isort.changes 0000025396 24.8 KB
python-isort.spec 0000004130 4.03 KB
Revision 17 (latest revision is 45)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 827700 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 17)
- Update to 5.4.2:
  * Fixed #1383: Known other does not work anymore with .editorconfig.
  * Fixed: Regression in first known party path expansion.
  * Fixed #1381: --combine-as loses # noqa in different circumstances.
  * Implemented #1373: support for length sort only of direct (AKA
    straight) imports.
  * Fixed #1321: --combine-as loses # noqa.
  * Fixed #1375: --dont-order-by-type CLI broken.
Comments 0
openSUSE Build Service is sponsored by