meta-openembedded/meta-python/recipes-devtools/python/python3-isort_5.8.0.bb
Leon Anavi f6f05d19fd python3-isort: Upgrade 5.7.0 -> 5.8.0
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>
2021-03-24 08:50:45 -07:00

17 lines
476 B
BlitzBasic

SUMMARY = "A Python utility / library to sort Python imports."
HOMEPAGE = "https://pypi.python.org/pypi/isort"
LICENSE = "MIT"
SECTION = "devel/python"
LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=8227180126797a0148f94f483f3e1489"
SRC_URI[sha256sum] = "0a943902919f65c5684ac4e0154b1ad4fac6dcaa5d9f3426b732f1c8b5419be6"
inherit pypi setuptools3
RDEPENDS_${PN} += "\
${PYTHON_PN}-datetime \
${PYTHON_PN}-shell \
"
BBCLASSEXTEND = "native nativesdk"