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 0000000051 51 Bytes
isort-5.11.4-gh.tar.gz 0000733368 716 KB
python-isort.changes 0000042997 42 KB
python-isort.spec 0000005472 5.34 KB
Revision 37 (latest revision is 45)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1059601 from Benjamin Greiner's avatar Benjamin Greiner (bnavigator) (revision 37)
- Update to 5.11.4
  * No user relevant changes
- Release 5.11.3
  * Renable portray (#2043) @timothycrosley
  * Fix packaging pypoetry (#2042) @staticdev
  * Fix settings for py3.11 (#2040) @staticdev
- Release 5.11.2
  * Hotfix for --version. (#2035) @felixxm
- Release 5.11.1
  * Only call colorama.init if colorama is available (#2032)
    @tomaarsen
- Release 5.11.0
  * Add support to Python 3.11 support (#2024) @staticdev
  * Remove support to Python 3.6 (#2020) @barrelful
  * Fix Rich compatibility (#1961) @ofek
  * Add magic trailing comma option (#1876) @legau
  * Add missing space in unrecoverable exception message (#1933)
    @andersk
  * skip-gitignore: use allow list, not deny list (#1900)
    @bmalehorn
  * Infinite loop for unmatched parenthesis (#1919) @anirudnits
  * Split long cython import lines (#1931) @davidcollins001
  * Update plone profile: copy of black, plus three settings.
    (#1926) @mauritsvanrees
  * Add a command-line flag to sort all re-exports (#1862) (#1863)
    @parafoxia
  * Fix lines_before_imports appending lines after comments (#1861)
    @legau
  * Remove redundant multi_line_output = 3 from "Compatibility with
    black" (#1858) @jdufresne (forwarded request 1059600 from bnavigator)
Comments 0
openSUSE Build Service is sponsored by