python3-pylint: Fix ptest failures
Quoted 37 lines · On Wed, Mar 13, 2024, 15:17 Dan McGregor via lists.openembedded.org…
From: Dan McGregor <[email protected]>
Due to the way we install ptests, some imports switch from first party to third party. Update test expectations
Signed-off-by Dan McGregor <[email protected]>--- ...1-Adjust-test-expectations-for-ptest.patch | 44 +++++++++++++++++++ .../python/python3-pylint_3.1.0.bb | 1 + 2 files changed, 45 insertions(+) create mode 100644
meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patchdiff --git
a/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patchb/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patchnew file mode 100644
index 00000000000..8edecbf1bd1
---/dev/null
+++b/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patch(quoted diff) +15
-0@@ -0,0 +1,44 @@ +From f3a213cf4922c122e554277ea2031c0c54cd3fe5 Mon Sep 17 00:00:00 2001 +From: Dan McGregor <[email protected]> +Date: Wed, 13 Mar 2024 14:08:25 -0600 +Subject: [PATCH] Adjust test expectations for ptest + +Because of the way we install ptests, some first party imports +became third party. Reflect that in the test case. + +Upstream-Status: Inappropriate (embedded specific) +Signed-off-by: Dan McGregor <[email protected]> +--- + tests/functional/w/wrong_import_order.txt | 22 +++++++++++----------- + 1 file changed, 11 insertions(+), 11 deletions(-) + +diff --git a/tests/functional/w/wrong_import_order.txt
Quoted 7 lines
b/tests/functional/w/wrong_import_order.txt
+index068d2140d..9594ff9e0100644
+---a/tests/functional/w/wrong_import_order.txt
++++b/tests/functional/w/wrong_import_order.txt
+@@ -3,14 +3,14 @@ wrong-import-order:14:0:14:10::"standard import ""sys"" should be placed before
Hmm, is there a way to specify line endings? This patch needs CRLF line endings, and it looks like that either didn't make it to the list, or didn't get applied correctly.
+ wrong-import-order:15:0:15:15::"standard import ""datetime"" should be
Quoted 131 lines
placed before third party imports ""six"", ""astroid.are_exclusive""":UNDEFINED
+ wrong-import-order:18:0:18:22::"third party import ""totally_missing"" should be placed before local import ""package.Class""":UNDEFINED
+ wrong-import-order:20:0:20:14::"third party import ""astroid"" should be placed before local imports ""package.Class"", "".package""":UNDEFINED +-wrong-import-order:22:0:22:22::"first party import ""pylint.checkers"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED +-wrong-import-order:23:0:23:25::"first party import ""pylint.config"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED +-wrong-import-order:24:0:24:17::"first party import ""pylint.sys"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED +-wrong-import-order:25:0:25:28::"first party import ""pylint.pyreverse"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED +-wrong-import-order:30:0:30:40::"third party import ""six.moves.urllib.parse.quote"" should be placed before first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED +-wrong-import-order:31:0:31:23::"first party import ""pylint.constants"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED +-wrong-import-order:32:0:32:19::"standard import ""re"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"", ""totally_missing"", ""astroid"", ""six.moves.urllib.parse.quote"", first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"", ""pylint.constants"", and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED +-wrong-import-order:32:0:32:19::"third party import ""requests"" should be placed before first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"", ""pylint.constants"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED +-wrong-import-order:33:0:33:24::"first party import ""pylint.exceptions"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED +-wrong-import-order:34:0:34:21::"first party import ""pylint.message"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED +-wrong-import-order:35:0:35:11::"standard import ""time"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"" (...) ""astroid"", ""six.moves.urllib.parse.quote"", ""requests"", first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"" (...) ""pylint.constants"", ""pylint.exceptions"", ""pylint.message"", and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED ++wrong-import-order:22:0:22:22::"third party import ""pylint.checkers"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED ++wrong-import-order:23:0:23:25::"third party import ""pylint.config"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED ++wrong-import-order:24:0:24:17::"third party import ""pylint.sys"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED ++wrong-import-order:25:0:25:28::"third party import ""pylint.pyreverse"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED ++wrong-import-order:30:0:30:40::"third party import ""six.moves.urllib.parse.quote"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED ++wrong-import-order:31:0:31:23::"third party import ""pylint.constants"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED ++wrong-import-order:32:0:32:19::"standard import ""re"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"" (...) ""pylint.pyreverse"", ""six.moves.urllib.parse.quote"", ""pylint.constants"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED ++wrong-import-order:32:0:32:19::"third party import ""requests"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED ++wrong-import-order:33:0:33:24::"third party import ""pylint.exceptions"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED ++wrong-import-order:34:0:34:21::"third party import ""pylint.message"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED ++wrong-import-order:35:0:35:11::"standard import ""time"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"" (...) ""requests"", ""pylint.exceptions"", ""pylint.message"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINEDmeta-python/recipes-devtools/python/python3-pylint_3.1.0.bb +1
-0@@ -4,6 +4,7 @@ LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9" SRC_URI += "git:// github.com/pylint-dev/pylint;branch=maintenance/3.1.x;protocol=https \ + file://0001-Adjust-test-expectations-for-ptest.patch \ file://run-ptest \ "SRCREV = "
053c2c3a25f97f043e10cdd41d2609e495a68f57"
--
2.41.0-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#109297):
https://lists.openembedded.org/g/openembedded-devel/message/109297
Mute This Topic: https://lists.openembedded.org/mt/104914934/3617261
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
maybe this recipe needs to inherit dos2unix ?
Quoted 98 lines · Dan McGregor
Quoted 28 lines · On Wed, Mar 13, 2024, 15:17 Dan McGregor via lists.openembedded.org…
From: Dan McGregor <[email protected]>
Due to the way we install ptests, some imports switch from first party to third party. Update test expectations
Signed-off-by Dan McGregor <[email protected]>--- ...1-Adjust-test-expectations-for-ptest.patch | 44 +++++++++++++++++++ .../python/python3-pylint_3.1.0.bb | 1 + 2 files changed, 45 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patchmeta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patch new file +9
-0@@ -0,0 +1,44 @@ +From f3a213cf4922c122e554277ea2031c0c54cd3fe5 Mon Sep 17 00:00:00 2001 +From: Dan McGregor <[email protected]> +Date: Wed, 13 Mar 2024 14:08:25 -0600 +Subject: [PATCH] Adjust test expectations for ptest + +Because of the way we install ptests, some first party imports +became third party. Reflect that in the test case. + +Upstream-Status: Inappropriate (embedded specific)meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patch line 19
Quoted 10 lines
meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patch new file +10
-0+Signed-off-by: Dan McGregor <[email protected]> +--- + tests/functional/w/wrong_import_order.txt | 22 +++++++++++----------- + 1 file changed, 11 insertions(+), 11 deletions(-) + +diff --git a/tests/functional/w/wrong_import_order.txt b/tests/functional/w/wrong_import_order.txt +index 068d2140d..9594ff9e0 100644 +--- a/tests/functional/w/wrong_import_order.txt ++++ b/tests/functional/w/wrong_import_order.txt +@@ -3,14 +3,14 @@ wrong-import-order:14:0:14:10::"standard import ""sys"" should be placed beforeHmm, is there a way to specify line endings? This patch needs CRLF line endings, and it looks like that either didn't make it to the list, or didn't get applied correctly.
Quoted 38 lines
meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patch new file +25
-0+ wrong-import-order:15:0:15:15::"standard import ""datetime"" should be placed before third party imports ""six"", ""astroid.are_exclusive""":UNDEFINED + wrong-import-order:18:0:18:22::"third party import ""totally_missing"" should be placed before local import ""package.Class""":UNDEFINED + wrong-import-order:20:0:20:14::"third party import ""astroid"" should be placed before local imports ""package.Class"", "".package""":UNDEFINED +-wrong-import-order:22:0:22:22::"first party import ""pylint.checkers"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED +-wrong-import-order:23:0:23:25::"first party import ""pylint.config"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED +-wrong-import-order:24:0:24:17::"first party import ""pylint.sys"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED +-wrong-import-order:25:0:25:28::"first party import ""pylint.pyreverse"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED +-wrong-import-order:30:0:30:40::"third party import ""six.moves.urllib.parse.quote"" should be placed before first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED +-wrong-import-order:31:0:31:23::"first party import ""pylint.constants"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED +-wrong-import-order:32:0:32:19::"standard import ""re"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"", ""totally_missing"", ""astroid"", ""six.moves.urllib.parse.quote"", first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"", ""pylint.constants"", and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED +-wrong-import-order:32:0:32:19::"third party import ""requests"" should be placed before first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"", ""pylint.constants"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED +-wrong-import-order:33:0:33:24::"first party import ""pylint.exceptions"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED +-wrong-import-order:34:0:34:21::"first party import ""pylint.message"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED +-wrong-import-order:35:0:35:11::"standard import ""time"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"" (...) ""astroid"", ""six.moves.urllib.parse.quote"", ""requests"", first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"" (...) ""pylint.constants"", ""pylint.exceptions"", ""pylint.message"", and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED ++wrong-import-order:22:0:22:22::"third party import ""pylint.checkers"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED ++wrong-import-order:23:0:23:25::"third party import ""pylint.config"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED ++wrong-import-order:24:0:24:17::"third party import ""pylint.sys"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED ++wrong-import-order:25:0:25:28::"third party import ""pylint.pyreverse"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED ++wrong-import-order:30:0:30:40::"third party import ""six.moves.urllib.parse.quote"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED ++wrong-import-order:31:0:31:23::"third party import ""pylint.constants"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED ++wrong-import-order:32:0:32:19::"standard import ""re"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"" (...) ""pylint.pyreverse"", ""six.moves.urllib.parse.quote"", ""pylint.constants"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED ++wrong-import-order:32:0:32:19::"third party import ""requests"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED ++wrong-import-order:33:0:33:24::"third party import ""pylint.exceptions"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED ++wrong-import-order:34:0:34:21::"third party import ""pylint.message"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED ++wrong-import-order:35:0:35:11::"standard import ""time"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"" (...) ""requests"", ""pylint.exceptions"", ""pylint.message"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINEDmeta-python/recipes-devtools/python/python3-pylint_3.1.0.bb +1
-1@@ -4,6 +4,7 @@ LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9" SRC_URI += "git://github.com/pylint-dev/pylint;branch=maintenance/3.1.x;protocol=https \ + file://0001-Adjust-test-expectations-for-ptest.patch \ file://run-ptest \ " SRCREV = "053c2c3a25f97f043e10cdd41d2609e495a68f57" --Quoted 5 lines
2.41.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109299): https://lists.openembedded.org/g/openembedded-devel/message/109299
Mute This Topic: https://lists.openembedded.org/mt/104914934/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Trying that out now, but it looked like it had some tests that depended on line endings.
Worst case I put the change up at
https://git.openembedded.org/meta-openembedded-contrib/ on the dankm/pylint branch.
Quoted 197 lines · On Wed, Mar 13, 2024, 16:33 Khem Raj <[email protected]> wrote:
maybe this recipe needs to inherit dos2unix ?
Quoted 4 lines · Dan McGregor
On Wed, Mar 13, 2024, 15:17 Dan McGregor via lists.openembedded.org
Quoted 6 lines · <[email protected]> wrote:
Quoted 6 lines
From: Dan McGregor <[email protected]>
Due to the way we install ptests, some imports switch from first party to third party. Update test expectations
Quoted 6 lines
Quoted 6 lines
Signed-off-by Dan McGregor <[email protected]>--- ...1-Adjust-test-expectations-for-ptest.patch | 44 +++++++++++++++++++ .../python/python3-pylint_3.1.0.bb | 1 + 2 files changed, 45 insertions(+) create mode 100644
meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patchQuoted 2 lines
Quoted 2 lines
diff --git
a/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patchb/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patchQuoted 4 lines
Quoted 4 lines
new file mode 100644
index 00000000000..8edecbf1bd1
---/dev/null
+++
b/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patchQuoted 8 lines
Quoted 8 lines
(quoted diff) +7
-0@@ -0,0 +1,44 @@ +From f3a213cf4922c122e554277ea2031c0c54cd3fe5 Mon Sep 17 00:00:00 2001 +From: Dan McGregor <[email protected]> +Date: Wed, 13 Mar 2024 14:08:25 -0600 +Subject: [PATCH] Adjust test expectations for ptest + +Because of the way we install ptests, some first party imports +became third party. Reflect that in the test case.Quoted 8 lines
Review line 15
Quoted 8 lines
(quoted diff) +8
-0+ +Upstream-Status: Inappropriate (embedded specific) +Signed-off-by: Dan McGregor <[email protected]> +--- + tests/functional/w/wrong_import_order.txt | 22 +++++++++++----------- + 1 file changed, 11 insertions(+), 11 deletions(-) + +diff --git a/tests/functional/w/wrong_import_order.txt
b/tests/functional/w/wrong_import_order.txtQuoted 4 lines
Review line 19
Quoted 4 lines
(quoted diff) +4
-0+index 068d2140d..9594ff9e0 100644 +--- a/tests/functional/w/wrong_import_order.txt ++++ b/tests/functional/w/wrong_import_order.txt +@@ -3,14 +3,14 @@ wrong-import-order:14:0:14:10::"standard import""sys"" should be placed before
Quoted 3 lines
Hmm, is there a way to specify line endings? This patch needs CRLF line
endings, and it looks like that either didn't make it to the list, or didn't get applied correctly.
Quoted 2 lines
Review line 20
Quoted 2 lines
(quoted diff) +1
-0+ wrong-import-order:15:0:15:15::"standard import ""datetime"" shouldbe placed before third party imports ""six"",
""astroid.are_exclusive""":UNDEFINEDQuoted 1 line
Review line 21
Quoted 1 line
(quoted diff) +1
-0+ wrong-import-order:18:0:18:22::"third party import""
totally_missing"" should be placed before local import ""package.Class""":UNDEFINEDQuoted 1 line
Review line 22
Quoted 1 line
(quoted diff) +1
-0+ wrong-import-order:20:0:20:14::"third party import ""astroid"" shouldbe placed before local imports ""package.Class"", "".package""":UNDEFINED
Quoted 1 line
Review line 23
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:22:0:22:22::"first party import""pylint.checkers"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
Quoted 1 line
Review line 24
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:23:0:23:25::"first party import ""pylint.config""should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
Quoted 1 line
Review line 25
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:24:0:24:17::"first party import ""pylint.sys""should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
Quoted 1 line
Review line 26
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:25:0:25:28::"first party import""pylint.pyreverse"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
Quoted 1 line
Review line 27
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:30:0:30:40::"third party import""six.moves.urllib.parse.quote"" should be placed before first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
Quoted 1 line
Review line 28
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:31:0:31:23::"first party import""pylint.constants"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
Quoted 1 line
Review line 29
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:32:0:32:19::"standard import ""re"" should beplaced before third party imports ""six"", ""astroid.are_exclusive"", ""
unused_import"", ""totally_missing"", ""astroid"", ""six.moves.urllib.parse.quote"", first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"", ""pylint.constants"", and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINEDQuoted 1 line
Review line 30
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:32:0:32:19::"third party import ""requests""should be placed before first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"", ""pylint.constants"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
Quoted 1 line
Review line 31
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:33:0:33:24::"first party import""pylint.exceptions"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
Quoted 1 line
Review line 32
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:34:0:34:21::"first party import ""pylint.message""should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
Quoted 1 line
Review line 33
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:35:0:35:11::"standard import ""time"" should beplaced before third party imports ""six"", ""astroid.are_exclusive"", ""
unused_import"" (...) ""astroid"", ""six.moves.urllib.parse.quote"", ""requests"", first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"" (...) ""pylint.constants"", ""pylint.exceptions"", ""pylint.message"", and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINEDQuoted 1 line
Review line 34
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:22:0:22:22::"third party import""pylint.checkers"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
Quoted 1 line
Review line 35
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:23:0:23:25::"third party import ""pylint.config""should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
Quoted 1 line
Review line 36
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:24:0:24:17::"third party import ""pylint.sys""should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
Quoted 1 line
Review line 37
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:25:0:25:28::"third party import""pylint.pyreverse"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
Quoted 1 line
Review line 38
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:30:0:30:40::"third party import""six.moves.urllib.parse.quote"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
Quoted 1 line
Review line 39
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:31:0:31:23::"third party import""pylint.constants"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
Quoted 1 line
Review line 40
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:32:0:32:19::"standard import ""re"" should beplaced before third party imports ""six"", ""astroid.are_exclusive"", ""
unused_import"" (...) ""pylint.pyreverse"", ""six.moves.urllib.parse.quote"", ""pylint.constants"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINEDQuoted 1 line
Review line 41
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:32:0:32:19::"third party import ""requests""should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
Quoted 1 line
Review line 42
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:33:0:33:24::"third party import""pylint.exceptions"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
Quoted 1 line
Review line 43
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:34:0:34:21::"third party import ""pylint.message""should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
Quoted 1 line
Review line 44
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:35:0:35:11::"standard import ""time"" should beplaced before third party imports ""six"", ""astroid.are_exclusive"", ""
unused_import"" (...) ""requests"", ""pylint.exceptions"", ""pylint.message"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINEDQuoted 1 line
Review
Quoted 1 line
(quoted diff) +0
-0python3-pylint_3.1.0.bb b/meta-python/recipes-devtools/python/ python3-pylint_3.1.0.bb
Quoted 5 lines
meta-python/recipes-devtools/python/python3-pylint_3.1.0.bb LICENSE = "GPL-2.0-only" · line 4
Quoted 5 lines
index
49f0b3eb6e4..12f4f908af7100644meta-python/recipes-devtools/python/python3-pylint_3.1.0.bb +0
-0@@ -4,6 +4,7 @@ LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM ="file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9"
Quoted 2 lines
meta-python/recipes-devtools/python/python3-pylint_3.1.0.bb LICENSE = "GPL-2.0-only" · line 5
Quoted 2 lines
meta-python/recipes-devtools/python/python3-pylint_3.1.0.bb +0
-0SRC_URI += "git://github.com/pylint-dev/pylint;branch=maintenance/3.1.x;protocol=https \
Quoted 11 lines
Quoted 10 lines
meta-python/recipes-devtools/python/python3-pylint_3.1.0.bb +1
-1+ file://0001-Adjust-test-expectations-for-ptest.patch \ file://run-ptest \ " SRCREV = "053c2c3a25f97f043e10cdd41d2609e495a68f57" --2.41.0
Quoted 3 lines
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#109299):https://lists.openembedded.org/g/openembedded-devel/message/109299
Quoted 3 lines
Mute This Topic: https://lists.openembedded.org/mt/104914934/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [Quoted 2 lines
-=-=-=-=-=-=-=-=-=-=-=-
And bad news: dos2unix causes other ptest failures.
Quoted 211 lines · On Wed, Mar 13, 2024, 17:17 Dan McGregor via lists.openembedded.org…
Trying that out now, but it looked like it had some tests that depended on line endings.
Worst case I put the change up at
https://git.openembedded.org/meta-openembedded-contrib/ on the dankm/pylint branch.Quoted 174 lines · On Wed, Mar 13, 2024, 16:33 Khem Raj <[email protected]> wrote:
maybe this recipe needs to inherit dos2unix ?
Quoted 4 lines · Dan McGregor
On Wed, Mar 13, 2024, 15:17 Dan McGregor via lists.openembedded.org
Quoted 6 lines · <[email protected]> wrote:
Quoted 6 lines
From: Dan McGregor <[email protected]>
Due to the way we install ptests, some imports switch from first party to third party. Update test expectations
Quoted 6 lines
Quoted 6 lines
Signed-off-by Dan McGregor <[email protected]>--- ...1-Adjust-test-expectations-for-ptest.patch | 44 +++++++++++++++++++ .../python/python3-pylint_3.1.0.bb | 1 + 2 files changed, 45 insertions(+) create mode 100644
meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patchQuoted 2 lines
Quoted 2 lines
diff --git
a/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patchb/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patchQuoted 4 lines
Quoted 4 lines
new file mode 100644
index 00000000000..8edecbf1bd1
---/dev/null
+++
b/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patchQuoted 8 lines
Quoted 8 lines
(quoted diff) +7
-0@@ -0,0 +1,44 @@ +From f3a213cf4922c122e554277ea2031c0c54cd3fe5 Mon Sep 17 00:00:00 2001 +From: Dan McGregor <[email protected]> +Date: Wed, 13 Mar 2024 14:08:25 -0600 +Subject: [PATCH] Adjust test expectations for ptest + +Because of the way we install ptests, some first party imports +became third party. Reflect that in the test case.Quoted 8 lines
Review line 15
Quoted 8 lines
(quoted diff) +8
-0+ +Upstream-Status: Inappropriate (embedded specific) +Signed-off-by: Dan McGregor <[email protected]> +--- + tests/functional/w/wrong_import_order.txt | 22 +++++++++++----------- + 1 file changed, 11 insertions(+), 11 deletions(-) + +diff --git a/tests/functional/w/wrong_import_order.txt
b/tests/functional/w/wrong_import_order.txtQuoted 4 lines
Review line 19
Quoted 4 lines
(quoted diff) +4
-0+index 068d2140d..9594ff9e0 100644 +--- a/tests/functional/w/wrong_import_order.txt ++++ b/tests/functional/w/wrong_import_order.txt +@@ -3,14 +3,14 @@ wrong-import-order:14:0:14:10::"standard import""sys"" should be placed before
Quoted 3 lines
Hmm, is there a way to specify line endings? This patch needs CRLF line
endings, and it looks like that either didn't make it to the list, or didn't get applied correctly.
Quoted 2 lines
Review line 20
Quoted 2 lines
(quoted diff) +1
-0+ wrong-import-order:15:0:15:15::"standard import ""datetime"" shouldbe placed before third party imports ""six"",
""astroid.are_exclusive""":UNDEFINEDQuoted 1 line
Review line 21
Quoted 1 line
(quoted diff) +1
-0+ wrong-import-order:18:0:18:22::"third party import""
totally_missing"" should be placed before local import ""package.Class""":UNDEFINEDQuoted 1 line
Review line 22
Quoted 1 line
(quoted diff) +1
-0+ wrong-import-order:20:0:20:14::"third party import ""astroid""should be placed before local imports ""package.Class"", "".package""":UNDEFINED
Quoted 1 line
Review line 23
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:22:0:22:22::"first party import""pylint.checkers"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
Quoted 1 line
Review line 24
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:23:0:23:25::"first party import ""pylint.config""should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
Quoted 1 line
Review line 25
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:24:0:24:17::"first party import ""pylint.sys""should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
Quoted 1 line
Review line 26
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:25:0:25:28::"first party import""pylint.pyreverse"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
Quoted 1 line
Review line 27
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:30:0:30:40::"third party import""six.moves.urllib.parse.quote"" should be placed before first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
Quoted 1 line
Review line 28
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:31:0:31:23::"first party import""pylint.constants"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
Quoted 1 line
Review line 29
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:32:0:32:19::"standard import ""re"" should beplaced before third party imports ""six"", ""astroid.are_exclusive"", ""
unused_import"", ""totally_missing"", ""astroid"", ""six.moves.urllib.parse.quote"", first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"", ""pylint.constants"", and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINEDQuoted 1 line
Review line 30
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:32:0:32:19::"third party import ""requests""should be placed before first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"", ""pylint.constants"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
Quoted 1 line
Review line 31
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:33:0:33:24::"first party import""pylint.exceptions"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
Quoted 1 line
Review line 32
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:34:0:34:21::"first party import""pylint.message"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
Quoted 1 line
Review line 33
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:35:0:35:11::"standard import ""time"" should beplaced before third party imports ""six"", ""astroid.are_exclusive"", ""
unused_import"" (...) ""astroid"", ""six.moves.urllib.parse.quote"", ""requests"", first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"" (...) ""pylint.constants"", ""pylint.exceptions"", ""pylint.message"", and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINEDQuoted 1 line
Review line 34
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:22:0:22:22::"third party import""pylint.checkers"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
Quoted 1 line
Review line 35
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:23:0:23:25::"third party import ""pylint.config""should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
Quoted 1 line
Review line 36
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:24:0:24:17::"third party import ""pylint.sys""should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
Quoted 1 line
Review line 37
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:25:0:25:28::"third party import""pylint.pyreverse"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
Quoted 1 line
Review line 38
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:30:0:30:40::"third party import""six.moves.urllib.parse.quote"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
Quoted 1 line
Review line 39
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:31:0:31:23::"third party import""pylint.constants"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
Quoted 1 line
Review line 40
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:32:0:32:19::"standard import ""re"" should beplaced before third party imports ""six"", ""astroid.are_exclusive"", ""
unused_import"" (...) ""pylint.pyreverse"", ""six.moves.urllib.parse.quote"", ""pylint.constants"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINEDQuoted 1 line
Review line 41
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:32:0:32:19::"third party import ""requests""should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
Quoted 1 line
Review line 42
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:33:0:33:24::"third party import""pylint.exceptions"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
Quoted 1 line
Review line 43
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:34:0:34:21::"third party import""pylint.message"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
Quoted 1 line
Review line 44
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:35:0:35:11::"standard import ""time"" should beplaced before third party imports ""six"", ""astroid.are_exclusive"", ""
unused_import"" (...) ""requests"", ""pylint.exceptions"", ""pylint.message"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINEDQuoted 1 line
Review
Quoted 1 line
(quoted diff) +0
-0python3-pylint_3.1.0.bb b/meta-python/recipes-devtools/python/ python3-pylint_3.1.0.bb
Quoted 5 lines
meta-python/recipes-devtools/python/python3-pylint_3.1.0.bb LICENSE = "GPL-2.0-only" · line 4
Quoted 5 lines
index
49f0b3eb6e4..12f4f908af7100644meta-python/recipes-devtools/python/python3-pylint_3.1.0.bb +0
-0@@ -4,6 +4,7 @@ LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM ="file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9"
Quoted 1 line
Quoted 1 line
Quoted 16 lines
Quoted 1 line
Quoted 1 line
SRC_URI+= "git://github.com/pylint-dev/pylint;branch=maintenance/3.1.x;protocol=https \
Quoted 13 lines
Quoted 10 lines
+ file://0001-Adjust-test-expectations-for-ptest.patch \ file://run-ptest \ "SRCREV = "
053c2c3a25f97f043e10cdd41d2609e495a68f57"
--
2.41.0-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#109301):
https://lists.openembedded.org/g/openembedded-devel/message/109301
Mute This Topic: https://lists.openembedded.org/mt/104914934/3617261
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Yes that’s works too if you can push it somewhere for me to pull
Quoted 208 lines · Dan McGregor
Trying that out now, but it looked like it had some tests that depended on line endings.
Worst case I put the change up at
https://git.openembedded.org/meta-openembedded-contrib/ on the dankm/pylint branch.Quoted 198 lines · On Wed, Mar 13, 2024, 16:33 Khem Raj <[email protected]> wrote:
maybe this recipe needs to inherit dos2unix ?
Quoted 4 lines · Dan McGregor
On Wed, Mar 13, 2024, 15:17 Dan McGregor via lists.openembedded.org
Quoted 6 lines · <[email protected]> wrote:
Quoted 6 lines
From: Dan McGregor <[email protected]>
Due to the way we install ptests, some imports switch from first party to third party. Update test expectations
Quoted 6 lines
Quoted 6 lines
Signed-off-by Dan McGregor <[email protected]>--- ...1-Adjust-test-expectations-for-ptest.patch | 44 +++++++++++++++++++ .../python/python3-pylint_3.1.0.bb | 1 + 2 files changed, 45 insertions(+) create mode 100644
meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patchQuoted 2 lines
Quoted 2 lines
diff --git
a/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patchb/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patchQuoted 4 lines
Quoted 4 lines
new file mode 100644
index 00000000000..8edecbf1bd1
---/dev/null
+++
b/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patchQuoted 8 lines
Quoted 8 lines
(quoted diff) +7
-0@@ -0,0 +1,44 @@ +From f3a213cf4922c122e554277ea2031c0c54cd3fe5 Mon Sep 17 00:00:00 2001 +From: Dan McGregor <[email protected]> +Date: Wed, 13 Mar 2024 14:08:25 -0600 +Subject: [PATCH] Adjust test expectations for ptest + +Because of the way we install ptests, some first party imports +became third party. Reflect that in the test case.Quoted 8 lines
Review line 15
Quoted 8 lines
(quoted diff) +8
-0+ +Upstream-Status: Inappropriate (embedded specific) +Signed-off-by: Dan McGregor <[email protected]> +--- + tests/functional/w/wrong_import_order.txt | 22 +++++++++++----------- + 1 file changed, 11 insertions(+), 11 deletions(-) + +diff --git a/tests/functional/w/wrong_import_order.txt
b/tests/functional/w/wrong_import_order.txtQuoted 4 lines
Review line 19
Quoted 4 lines
(quoted diff) +4
-0+index 068d2140d..9594ff9e0 100644 +--- a/tests/functional/w/wrong_import_order.txt ++++ b/tests/functional/w/wrong_import_order.txt +@@ -3,14 +3,14 @@ wrong-import-order:14:0:14:10::"standard import""sys"" should be placed before
Quoted 3 lines
Hmm, is there a way to specify line endings? This patch needs CRLF line
endings, and it looks like that either didn't make it to the list, or didn't get applied correctly.
Quoted 2 lines
Review line 20
Quoted 2 lines
(quoted diff) +1
-0+ wrong-import-order:15:0:15:15::"standard import ""datetime"" shouldbe placed before third party imports ""six"",
""astroid.are_exclusive""":UNDEFINEDQuoted 1 line
Review line 21
Quoted 1 line
(quoted diff) +1
-0+ wrong-import-order:18:0:18:22::"third party import""
totally_missing"" should be placed before local import ""package.Class""":UNDEFINEDQuoted 1 line
Review line 22
Quoted 1 line
(quoted diff) +1
-0+ wrong-import-order:20:0:20:14::"third party import ""astroid""should be placed before local imports ""package.Class"", "".package""":UNDEFINED
Quoted 1 line
Review line 23
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:22:0:22:22::"first party import""pylint.checkers"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
Quoted 1 line
Review line 24
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:23:0:23:25::"first party import ""pylint.config""should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
Quoted 1 line
Review line 25
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:24:0:24:17::"first party import ""pylint.sys""should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
Quoted 1 line
Review line 26
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:25:0:25:28::"first party import""pylint.pyreverse"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
Quoted 1 line
Review line 27
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:30:0:30:40::"third party import""six.moves.urllib.parse.quote"" should be placed before first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
Quoted 1 line
Review line 28
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:31:0:31:23::"first party import""pylint.constants"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
Quoted 1 line
Review line 29
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:32:0:32:19::"standard import ""re"" should beplaced before third party imports ""six"", ""astroid.are_exclusive"", ""
unused_import"", ""totally_missing"", ""astroid"", ""six.moves.urllib.parse.quote"", first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"", ""pylint.constants"", and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINEDQuoted 1 line
Review line 30
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:32:0:32:19::"third party import ""requests""should be placed before first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"", ""pylint.constants"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
Quoted 1 line
Review line 31
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:33:0:33:24::"first party import""pylint.exceptions"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
Quoted 1 line
Review line 32
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:34:0:34:21::"first party import""pylint.message"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
Quoted 1 line
Review line 33
Quoted 1 line
(quoted diff) +1
-0+-wrong-import-order:35:0:35:11::"standard import ""time"" should beplaced before third party imports ""six"", ""astroid.are_exclusive"", ""
unused_import"" (...) ""astroid"", ""six.moves.urllib.parse.quote"", ""requests"", first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"" (...) ""pylint.constants"", ""pylint.exceptions"", ""pylint.message"", and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINEDQuoted 1 line
Review line 34
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:22:0:22:22::"third party import""pylint.checkers"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
Quoted 1 line
Review line 35
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:23:0:23:25::"third party import ""pylint.config""should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
Quoted 1 line
Review line 36
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:24:0:24:17::"third party import ""pylint.sys""should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
Quoted 1 line
Review line 37
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:25:0:25:28::"third party import""pylint.pyreverse"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED
Quoted 1 line
Review line 38
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:30:0:30:40::"third party import""six.moves.urllib.parse.quote"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
Quoted 1 line
Review line 39
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:31:0:31:23::"third party import""pylint.constants"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
Quoted 1 line
Review line 40
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:32:0:32:19::"standard import ""re"" should beplaced before third party imports ""six"", ""astroid.are_exclusive"", ""
unused_import"" (...) ""pylint.pyreverse"", ""six.moves.urllib.parse.quote"", ""pylint.constants"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINEDQuoted 1 line
Review line 41
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:32:0:32:19::"third party import ""requests""should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
Quoted 1 line
Review line 42
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:33:0:33:24::"third party import""pylint.exceptions"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
Quoted 1 line
Review line 43
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:34:0:34:21::"third party import""pylint.message"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED
Quoted 1 line
Review line 44
Quoted 1 line
(quoted diff) +1
-0++wrong-import-order:35:0:35:11::"standard import ""time"" should beplaced before third party imports ""six"", ""astroid.are_exclusive"", ""
unused_import"" (...) ""requests"", ""pylint.exceptions"", ""pylint.message"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINEDQuoted 1 line
Review
Quoted 1 line
(quoted diff) +0
-0python3-pylint_3.1.0.bb b/meta-python/recipes-devtools/python/ python3-pylint_3.1.0.bb
Quoted 5 lines
meta-python/recipes-devtools/python/python3-pylint_3.1.0.bb LICENSE = "GPL-2.0-only" · line 4
Quoted 5 lines
index
49f0b3eb6e4..12f4f908af7100644meta-python/recipes-devtools/python/python3-pylint_3.1.0.bb +0
-0@@ -4,6 +4,7 @@ LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM ="file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9"
Quoted 2 lines
meta-python/recipes-devtools/python/python3-pylint_3.1.0.bb LICENSE = "GPL-2.0-only" · line 5
Quoted 2 lines
meta-python/recipes-devtools/python/python3-pylint_3.1.0.bb +0
-0SRC_URI += "git://github.com/pylint-dev/pylint;branch=maintenance/3.1.x;protocol=https \
Quoted 11 lines
Quoted 10 lines
meta-python/recipes-devtools/python/python3-pylint_3.1.0.bb +1
-1+ file://0001-Adjust-test-expectations-for-ptest.patch \ file://run-ptest \ " SRCREV = "053c2c3a25f97f043e10cdd41d2609e495a68f57" --2.41.0
Quoted 3 lines
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#109299):https://lists.openembedded.org/g/openembedded-devel/message/109299
Quoted 3 lines
Mute This Topic: https://lists.openembedded.org/mt/104914934/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsubQuoted 2 lines
-=-=-=-=-=-=-=-=-=-=-=-