Upgrade to release 5.8.0:
- Fix: as import comments can in some cases be duplicated.
- Fix: extra newline added with float-to-top, after skip, in
some cases.
- Fix: incorrect placement of noqa comments with multiple from
imports.
- Fix: in some cases different length limits for dos based line
endings.
- Export MyPY type hints.
- Identified import statements now return runnable code.
- Added "wemake" profile.
- Parallel (-j) now defaults to number of CPU cores if no value
is provided.
- Added a safeguard against accidental usage against /.
- Provide a flag --overwrite-in-place to ensure same file handle
is used after sorting.
- Added support for extending skips with --extend-skip and
--extend-skip-glob.
- Auto identification and skipping of some invalid import
statements.
- Ability to reverse the import sorting order.
- Added ability to push star imports to the top to avoid
overriding explicitly defined imports.
- Doc: Skip doesn't support plain directory names, but skip_glob
does.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>