From 53788e60fa15dd1110bdd45a92007675849f3ed5 Mon Sep 17 00:00:00 2001 From: saito-hideki Date: Mon, 29 Sep 2025 09:43:21 +0900 Subject: [PATCH] Ignore pylint errors caused by compatibility checks for six * This is a temporary measure until we stop covering Python2 Signed-off-by: saito-hideki --- .ansible-lint | 2 +- tests/sanity/ignore-2.20.txt | 3 +++ tests/utils/shippable/sanity.sh | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.ansible-lint b/.ansible-lint index 7f470fa..f437fd5 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -4,7 +4,7 @@ # SPDX-FileCopyrightText: 2024, Ansible Project skip_list: - - meta-runtime[unsupported-version] # Tis rule doesn't make any sense + - meta-runtime[unsupported-version] # This rule doesn't make any sense - fqcn[deep] # This rule produces false positives for files in tests/unit/plugins/action/fixtures/ exclude_paths: - changelogs/ diff --git a/tests/sanity/ignore-2.20.txt b/tests/sanity/ignore-2.20.txt index 3cf68c0..bc694e0 100644 --- a/tests/sanity/ignore-2.20.txt +++ b/tests/sanity/ignore-2.20.txt @@ -1 +1,4 @@ tests/utils/shippable/timing.py shebang +tests/unit/mock/procenv.py pylint:ansible-bad-import-from +tests/unit/mock/yaml_helper.py pylint:ansible-bad-import-from +tests/unit/modules/conftest.py pylint:ansible-bad-import-from diff --git a/tests/utils/shippable/sanity.sh b/tests/utils/shippable/sanity.sh index 50a74a2..5958491 100755 --- a/tests/utils/shippable/sanity.sh +++ b/tests/utils/shippable/sanity.sh @@ -18,4 +18,4 @@ fi # shellcheck disable=SC2086 ansible-test sanity --color -v --junit ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} \ - --docker --base-branch "${base_branch}" --allow-disabled + --docker --base-branch "${base_branch}" --allow-disabled --debug