From d8ae2f41d20c9ee8b09560e4b14fff4a666d92c8 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sat, 23 Mar 2024 12:28:34 +0100 Subject: [PATCH] Ignore pylint warnings for construct that does not work with Python 2 (#268) * Ignore pylint warnings for construct that does not work with Python 2. * Revert "Ignore pylint warnings for construct that does not work with Python 2." This reverts commit 407b2ef93addee8cebc5ef0aca88ebb8525a8805. * Different approach: use ignore.txt since otherwise ansible-core 2.14 tests fail. --- tests/sanity/ignore-2.17.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/sanity/ignore-2.17.txt b/tests/sanity/ignore-2.17.txt index ce635c3..0a5234b 100644 --- a/tests/sanity/ignore-2.17.txt +++ b/tests/sanity/ignore-2.17.txt @@ -1 +1,2 @@ update-docs.py shebang +tests/unit/compat/mock.py pylint:use-yield-from # suggested construct does not work with Python 2