From c2a1c2330a19d1252d69b79f0de799bd218246de Mon Sep 17 00:00:00 2001 From: Xu Huan Date: Fri, 17 Jun 2022 09:33:31 +0800 Subject: python3-pylint: upgrade 2.13.9 -> 2.14.1 Changelog: ========= Avoid reporting unnecessary-dict-index-lookup or unnecessary-list-index-lookup when the index lookup is part of a destructuring assignment. Fixed parsing of unrelated options in tox.ini. Fixed a crash when linting __new__() methods that return a call expression. Don't crash if we can't find the user's home directory. Fixed false positives for unused-import when aliasing typing e.g. as t and guarding imports under t.TYPE_CHECKING. Fixed a false positive regression in 2.13 for used-before-assignment where it is safe to rely on a name defined only in an except block because the else block returned. Fixed the use of abbreviations for some special options on the command line. Fix a crash in the optional pylint.extensions.private_import extension. bad-option-value (E0012) is now a warning unknown-option-value (W0012). Deleted messages that do not exist anymore in pylint now raise useless-option-value (R0022) instead of bad-option-value. This allows to distinguish between genuine typos and configuration that could be cleaned up. Existing message disables for bad-option-value will still work on both new messages. Signed-off-by: Xu Huan Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-pylint_2.13.9.bb | 18 ------------------ .../recipes-devtools/python/python3-pylint_2.14.1.bb | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pylint_2.13.9.bb create mode 100644 meta-python/recipes-devtools/python/python3-pylint_2.14.1.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-pylint_2.13.9.bb b/meta-python/recipes-devtools/python/python3-pylint_2.13.9.bb deleted file mode 100644 index 1946a89230..0000000000 --- a/meta-python/recipes-devtools/python/python3-pylint_2.13.9.bb +++ /dev/null @@ -1,18 +0,0 @@ -SUMMARY="Pylint is a Python source code analyzer" -HOMEPAGE= "http://www.pylint.org/" -LICENSE = "GPL-2.0-only" -LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9" - -SRC_URI[sha256sum] = "095567c96e19e6f57b5b907e67d265ff535e588fe26b12b5ebe1fc5645b2c731" - -inherit pypi setuptools3 - -RDEPENDS:${PN} += "${PYTHON_PN}-astroid \ - ${PYTHON_PN}-isort \ - ${PYTHON_PN}-numbers \ - ${PYTHON_PN}-shell \ - ${PYTHON_PN}-json \ - ${PYTHON_PN}-pkgutil \ - ${PYTHON_PN}-difflib \ - ${PYTHON_PN}-netserver \ - " diff --git a/meta-python/recipes-devtools/python/python3-pylint_2.14.1.bb b/meta-python/recipes-devtools/python/python3-pylint_2.14.1.bb new file mode 100644 index 0000000000..d4d2d2c8a4 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pylint_2.14.1.bb @@ -0,0 +1,18 @@ +SUMMARY="Pylint is a Python source code analyzer" +HOMEPAGE= "http://www.pylint.org/" +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9" + +SRC_URI[sha256sum] = "549261e0762c3466cc001024c4419c08252cb8c8d40f5c2c6966fea690e7fe2a" + +inherit pypi setuptools3 + +RDEPENDS:${PN} += "${PYTHON_PN}-astroid \ + ${PYTHON_PN}-isort \ + ${PYTHON_PN}-numbers \ + ${PYTHON_PN}-shell \ + ${PYTHON_PN}-json \ + ${PYTHON_PN}-pkgutil \ + ${PYTHON_PN}-difflib \ + ${PYTHON_PN}-netserver \ + " -- cgit v1.2.3-54-g00ecf