diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2023-12-15 08:18:33 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-12-14 17:03:49 -0800 |
| commit | 6580c4bb38ece6f0775c550e36ee5da89352d500 (patch) | |
| tree | 2712b0b9922a3b7ed727c0c0bc77ba87f288a723 /meta-python/recipes-devtools/python/python3-pylint_3.0.3.bb | |
| parent | 236bf067d420b1a7747697989a06735f34924fe6 (diff) | |
| download | meta-openembedded-6580c4bb38ece6f0775c550e36ee5da89352d500.tar.gz | |
python3-pylint: upgrade 3.0.2 -> 3.0.3
Changelog:
===========
-Fixed false positive for unnecessary-lambda when the call has keyword
arguments but not the lambda.
-Fixed incorrect suggestion for shallow copy in unnecessary-comprehension
-Fix false positives for undefined-variable and unused-argument for
classes and functions using Python 3.12 generic type syntax.
-Fixed pointless-string-statement false positive for docstrings
on Python 3.12 type aliases.
-Fix false positive for invalid-exception-operation when concatenating tuples
of exception types.
-Fix a bug where pylint was unable to walk recursively through a directory if
the directory has an __init__.py file.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pylint_3.0.3.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pylint_3.0.3.bb | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pylint_3.0.3.bb b/meta-python/recipes-devtools/python/python3-pylint_3.0.3.bb new file mode 100644 index 0000000000..09ab1f26ff --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pylint_3.0.3.bb | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | SUMMARY="Pylint is a Python source code analyzer" | ||
| 2 | HOMEPAGE= "http://www.pylint.org/" | ||
| 3 | LICENSE = "GPL-2.0-only" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9" | ||
| 5 | |||
| 6 | SRC_URI += "git://github.com/pylint-dev/pylint;branch=maintenance/3.0.x;protocol=https \ | ||
| 7 | file://run-ptest \ | ||
| 8 | " | ||
| 9 | SRCREV = "1a5ffc1f447b77071ffe18a9c6836c09147ee2ed" | ||
| 10 | |||
| 11 | inherit python_setuptools_build_meta ptest | ||
| 12 | |||
| 13 | RDEPENDS:${PN} += "${PYTHON_PN}-astroid \ | ||
| 14 | ${PYTHON_PN}-dill \ | ||
| 15 | ${PYTHON_PN}-isort \ | ||
| 16 | ${PYTHON_PN}-mccabe \ | ||
| 17 | ${PYTHON_PN}-numbers \ | ||
| 18 | ${PYTHON_PN}-platformdirs \ | ||
| 19 | ${PYTHON_PN}-shell \ | ||
| 20 | ${PYTHON_PN}-json \ | ||
| 21 | ${PYTHON_PN}-pkgutil \ | ||
| 22 | ${PYTHON_PN}-difflib \ | ||
| 23 | ${PYTHON_PN}-netserver \ | ||
| 24 | ${PYTHON_PN}-tomlkit \ | ||
| 25 | " | ||
| 26 | |||
| 27 | RDEPENDS:${PN}-ptest += " \ | ||
| 28 | ${PYTHON_PN}-core \ | ||
| 29 | ${PYTHON_PN}-git \ | ||
| 30 | ${PYTHON_PN}-py \ | ||
| 31 | ${PYTHON_PN}-pytest \ | ||
| 32 | ${PYTHON_PN}-pytest-benchmark \ | ||
| 33 | ${PYTHON_PN}-pytest-runner \ | ||
| 34 | ${PYTHON_PN}-pytest-timeout \ | ||
| 35 | ${PYTHON_PN}-pytest-xdist \ | ||
| 36 | ${PYTHON_PN}-requests \ | ||
| 37 | ${PYTHON_PN}-statistics \ | ||
| 38 | ${PYTHON_PN}-tomllib \ | ||
| 39 | ${PYTHON_PN}-typing-extensions \ | ||
| 40 | " | ||
| 41 | |||
| 42 | S = "${WORKDIR}/git" | ||
| 43 | |||
| 44 | do_install_ptest() { | ||
| 45 | install -d ${D}${PTEST_PATH}/tests | ||
| 46 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 47 | install -Dm 0644 ${S}/tests/.pylint_primer_tests/.gitkeep ${D}${PTEST_PATH}/tests/.pylint_primer_tests/.gitkeep | ||
| 48 | sed -i 's#/usr/bin/python$#/usr/bin/python3#g' ${D}${PTEST_PATH}/tests/data/ascript | ||
| 49 | } | ||
| 50 | |||
| 51 | BBCLASSEXTEND = "native nativesdk" | ||
