A Python utility / library to sort imports.
black
compatibility for .pyi
type stub files (#2017) @XuehaiPanmulti_line_output = 3
from "Compatibility with black" (#1858) @jdufresneImplemented #1796: Switch to tomli for pyproject.toml configuration loader.
Fixed #1801: CLI bug (--exend-skip-glob, overrides instead of extending).
Fixed #1802: respect PATH customization in nested calls to git.
Fixed #1838: Append only with certain code snippets incorrectly adds imports.
Added official support for Python 3.10
--from-first
CLI flag shouldn't take any arguments.isort --check --atomic
against Cython files.__init__.py
files during placement.__pypackages__
directories by default.-j
) now defaults to number of CPU cores if no value is provided.--overwrite-in-place
to ensure same file handle is used after sorting.--extend-skip
and --extend-skip-glob
.isort.file
.