isort

A Python utility / library to sort imports.

MIT License

Downloads
56.7M
Stars
6.4K
Committers
290

Bot releases are visible (Hide)

isort - 5.1.3

Published by timothycrosley over 4 years ago

5.1.3 July 18, 2020

  • Fixed issue #1329: Fix comments duplicated when --fass option is set.
isort - 5.1.2

Published by timothycrosley over 4 years ago

5.1.2 July 17, 2020

  • Fixed issue #1219 / #1326: Comments not wrapped for long lines
  • Fixed issue #1156: Bug related to isort:skip usage followed by a multiline comment block
isort - 5.1.1

Published by timothycrosley over 4 years ago

5.1.1 July 15, 2020

  • Fixed issue #1322: Occasionally two extra newlines before comment with -n & --fss.
  • Fixed issue #1189: --diff broken when reading from standard input.
isort - 5.1.0

Published by timothycrosley over 4 years ago

5.1.0 July 14, 2020

  • isort now throws an exception if an invalid settings path is given (issue #1174).
  • Implemented support for automatic redundant alias removal (issue #1281).
  • Implemented experimental support for floating all imports to the top of a file (issue #1228)
  • Fixed #1178: support for semicolons in decorators.
  • Fixed #1315: Extra newline before comment with -n + --fss.
  • Fixed #1192: -k or --keep-direct-and-as-imports option has been deprecated as it is now always on.

Formatting changes implied:

  • Fixed #1280: rewrite of as imports changes the behavior of the imports.
isort - 5.0.9

Published by timothycrosley over 4 years ago

  • Fixed #1301: Import headings in nested sections leads to check errors
isort - 5.0.8

Published by timothycrosley over 4 years ago

  • Fixed #1277 & #1278: New line detection issues on Windows.
  • Fixed #1294: Fix bundled git hook.
isort - 5.0.7

Published by timothycrosley over 4 years ago

  • Fixed #1306: unexpected --diff behavior.
  • Fixed #1279: Fixed NOQA comment regression.
isort - 5.0.6

Published by timothycrosley over 4 years ago

  • Fixed #1302: comments and --trailing-comma can generate invalid code.
  • Fixed #1293: extra new line in indented imports, when immediately followed by a comment.
  • Fixed #1304: isort 5 no longer recognises sre_parse as a stdlib module.
  • Fixed #1300: add_imports moves comments following import section.
  • Fixed #1276: Fix a bug that creates only one line after triple quotes.
isort - 5.0.5

Published by timothycrosley over 4 years ago

5.0.5 July 7, 2020

  • Fixed #1285: packaging issue with bundling tests via poetry.
  • Fixed #1284: Regression when sorting .pyi files from CLI using black profile.
  • Fixed #1275 & #1283: Blank line after docstring removed.
  • Fixed #1298: CLI Help out of date with isort 5.
  • Fixed #1290: Unecessary blank lines above nested imports when import comments turned on.
  • Fixed #1297: Usage of --add-imports alongside --check is broken.
  • Fixed #1289: Stream usage no longer auto picking up config file from current working directory.
  • Fixed #1296: Force_single_line setting removes immediately following comment line.
  • Fixed #1295: ensure_newline_before_comments doesnt work with force_sort_within_sections.
  • Setting not_skip will no longer immediately fail but instead give user a warning and direct
    to upgrade docs.
isort - 5.0.4

Published by timothycrosley over 4 years ago

isort - 5.0.3

Published by timothycrosley over 4 years ago

5.0.3 - July 4, 2020

isort - 5.0.2

Published by timothycrosley over 4 years ago

Ensure completeness of black profile, adding default line_length

isort - 5.0.1

Published by timothycrosley over 4 years ago

isort - 5.0.0

Published by timothycrosley over 4 years ago

isort - 4.3.21-2

Published by timothycrosley over 5 years ago

4.3.21 - June 25, 2019 - hot fix release

  • Fixed issue #957 - Long aliases and use_parentheses generates invalid syntax
isort - 4.3.20

Published by timothycrosley over 5 years ago

4.3.20 - May 14, 2019 - hot fix release

  • Fixed issue #948 - Pipe redirection broken on Python2.7
isort - 4.3.19

Published by timothycrosley over 5 years ago

4.3.19 - May 12, 2019 - hot fix release

  • Fixed issue #942 - correctly handle pyi (Python Template Files) to match black output
isort - 4.3.18

Published by timothycrosley over 5 years ago

4.3.18 - May 1, 2019 - hotfix release

  • Fixed an issue with parsing files that contain Unicode characters in Python 2
  • Fixed issue #924 - Pulling in pip internals causes depreciation warning
  • Fixed issue #938 - Providing a way to filter explicitly passed in files via configuration settings (--filter-files)
  • Improved interoperability with toml configuration files
isort - 4.3.17

Published by timothycrosley over 5 years ago

4.3.17 - April 7, 2019 - hot fix release

  • Fixed issue #905 & #919: Import section headers behaving strangely
isort - 4.3.16

Published by timothycrosley over 5 years ago

4.3.16 - March 23, 2019 - hot fix release

  • Fixed issue #909 - skip and skip-glob are not enforced when using settings-path.
  • Fixed issue #907 - appdirs optional requirement does not correctly specify version
  • Fixed issue #902 - Too broad warning about missing toml package
  • Fixed issue #778 - remove user from known standard library as it's no longer in any supported Python version.
Package Rankings
Top 0.58% on Pypi.org
Top 11.98% on Formulae.brew.sh
Top 3.25% on Alpine-edge
Top 3.84% on Proxy.golang.org
Top 1.47% on Alpine-v3.18
Top 4.55% on Alpine-v3.17
Badges
Extracted from project README
isort - isort your imports, so you don't have to. PyPI version Test Status Lint Status Code coverage Status License Join the chat at https://gitter.im/timothycrosley/isort Downloads Code style: black Imports: isort DeepSource Imports: isort