summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pylint_3.3.6.bb
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2025-03-20 14:32:27 +0200
committerKhem Raj <raj.khem@gmail.com>2025-03-20 14:21:07 -0700
commit115faefc47e48f80afa9ae4e1145a42c77f75de7 (patch)
tree93a881ea94c4de6b80b0f554b77e9b58cfe740a6 /meta-python/recipes-devtools/python/python3-pylint_3.3.6.bb
parent2f629f4baa83979e38df2a94a098c772739b8025 (diff)
downloadmeta-openembedded-115faefc47e48f80afa9ae4e1145a42c77f75de7.tar.gz
python3-pylint: Upgrade 3.3.4 -> 3.3.6
Upgrade to release 3.3.6: - Fix a false positive for used-before-assignment when an inner function's return type annotation is a class defined at module scope. - Fix false positives for use-implicit-booleaness-not-comparison, use-implicit-booleaness-not-comparison-to-string and use-implicit-booleaness-not-comparison-to-zero when chained comparisons are checked. - Fix a false positive for invalid-getnewargs-ex-returned when the tuple or dict has been assigned to a name. - Remove getopt and optparse from the list of deprecated modules. - Fixed conditional import x.y causing false positive possibly-used-before-assignment. - Fix a crash when something besides a class is found in an except handler. - Fixed raising invalid-name when using camelCase for private methods with two leading underscores. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pylint_3.3.6.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pylint_3.3.6.bb59
1 files changed, 59 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pylint_3.3.6.bb b/meta-python/recipes-devtools/python/python3-pylint_3.3.6.bb
new file mode 100644
index 0000000000..f70049c898
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pylint_3.3.6.bb
@@ -0,0 +1,59 @@
1SUMMARY = "Pylint is a Python source code analyzer"
2HOMEPAGE = "http://www.pylint.org/"
3LICENSE = "GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9"
5
6SRCREV = "7ac5a4d4f77576df3a00e63f86ca86e0e1780b47"
7SRC_URI += "git://github.com/pylint-dev/pylint;branch=maintenance/3.3.x;protocol=https \
8 file://0001-Adjust-test-expectations-for-ptest.patch \
9 file://0002-pyproject.toml-Keep-tool.setuptools.license-files.patch \
10 file://run-ptest \
11 "
12
13inherit python_setuptools_build_meta ptest
14
15S = "${WORKDIR}/git"
16
17RDEPENDS:${PN} += "\
18 python3-astroid \
19 python3-difflib \
20 python3-dill \
21 python3-isort \
22 python3-json \
23 python3-mccabe \
24 python3-netserver \
25 python3-numbers \
26 python3-pkgutil \
27 python3-platformdirs \
28 python3-shell \
29 python3-tomlkit \
30 "
31# python3-misc for timeit.py
32RDEPENDS:${PN}-ptest += " \
33 python3-core \
34 python3-git \
35 python3-misc \
36 python3-py \
37 python3-pytest \
38 python3-pytest-benchmark \
39 python3-pytest-runner \
40 python3-pytest-timeout \
41 python3-pytest-xdist \
42 python3-requests \
43 python3-statistics \
44 python3-tomllib \
45 python3-typing-extensions \
46 python3-unittest-automake-output \
47 "
48
49do_install_ptest() {
50 install -d ${D}${PTEST_PATH}/tests
51 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
52 install -Dm 0644 ${S}/tests/.pylint_primer_tests/.gitkeep ${D}${PTEST_PATH}/tests/.pylint_primer_tests/.gitkeep
53 sed -i 's#/usr/bin/python$#/usr/bin/python3#g' ${D}${PTEST_PATH}/tests/data/a_script
54 # regression_distutil_import_error_73.py fails to run see
55 # https://lists.openembedded.org/g/openembedded-devel/topic/103181847
56 rm ${D}${PTEST_PATH}/tests/functional/r/regression_02/regression_distutil_import_error_73.py
57}
58
59BBCLASSEXTEND = "native nativesdk"