From 66a956312706481dbb6a2cc4290ad74bdfc41e8c Mon Sep 17 00:00:00 2001 From: Andreas Maier Date: Wed, 7 Apr 2021 20:09:56 +0200 Subject: [PATCH] Skipped 2nd chunk of problematic pylint checks for Ansible 2.9 Signed-off-by: Andreas Maier --- Makefile | 3 ++- tests/sanity/ignore-2.9.txt | 14 ++++++++++++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 6b3819a8b..b3f818955 100644 --- a/Makefile +++ b/Makefile @@ -212,7 +212,8 @@ test: _check_version develop_$(pymn).done .PHONY: sanity sanity: _check_version develop_$(pymn).done - tar -rf $(sanity_tar_file) --exclude=tmp_workspace.tar --exclude=$(doc_build_dir) --exclude=$(sanity_dir1) . + rm -f $(sanity_tar_file) + tar -rf $(sanity_tar_file) --exclude=tmp_workspace.tar --exclude=$(doc_build_dir) --exclude=$(sanity_dir) . rm -rf $(sanity_dir) mkdir -p $(sanity_dir) tar -xvf $(sanity_tar_file) --directory $(sanity_dir) diff --git a/tests/sanity/ignore-2.9.txt b/tests/sanity/ignore-2.9.txt index a9c61ff73..837eccab4 100644 --- a/tests/sanity/ignore-2.9.txt +++ b/tests/sanity/ignore-2.9.txt @@ -12,6 +12,7 @@ plugins/modules/zhmc_virtual_function.py validate-modules:missing-gplv3-license tools/os_setup.sh shebang # using /bin/bash plugins/module_utils/common.py pylint:raise-missing-from plugins/modules/zhmc_adapter.py pylint!skip # Unreliable duplicate-code issues +plugins/modules/zhmc_cpc.py pylint!skip # Unreliable duplicate-code issues plugins/modules/zhmc_crypto_attachment.py pylint!skip # Unreliable duplicate-code issues plugins/modules/zhmc_hba.py pylint!skip # Unreliable duplicate-code issues plugins/modules/zhmc_nic.py pylint!skip # Unreliable duplicate-code issues @@ -21,8 +22,17 @@ plugins/modules/zhmc_storage_group_attachment.py pylint!skip # Unreliable duplic plugins/modules/zhmc_storage_volume.py pylint!skip # Unreliable duplicate-code issues plugins/modules/zhmc_user.py pylint!skip # Unreliable duplicate-code issues plugins/modules/zhmc_virtual_function.py pylint!skip # Unreliable duplicate-code issues -tests/function/test_func_partition.py pylint:duplicate-code -tests/unit/test_partition.py pylint:duplicate-code +tests/end2end/test_zhmc_partition.py pylint!skip # Unreliable duplicate-code issues +tests/end2end/test_zhmc_user.py pylint!skip # Unreliable duplicate-code issues +tests/end2end/utils.py pylint!skip # Unreliable duplicate-code issues +tests/function/func_utils.py pylint!skip # Unreliable duplicate-code issues +tests/function/test_func_partition.py pylint!skip # Unreliable duplicate-code issues +tests/unit/test_hba.py pylint!skip # Unreliable duplicate-code issues +tests/unit/test_nic.py pylint!skip # Unreliable duplicate-code issues +tests/unit/test_partition.py pylint!skip # Unreliable duplicate-code issues +tests/unit/test_virtual_function.py pylint!skip # Unreliable duplicate-code issues +docs/source/conf.py pylint!skip # Unreliable duplicate-code issues +tools/version.py pylint!skip # Unreliable duplicate-code issues plugins/modules/zhmc_adapter.py validate-modules:import-error # Was broken in Ansible 2.9, fixed in 2.10 via PR 63932 plugins/modules/zhmc_cpc.py validate-modules:import-error # Was broken in Ansible 2.9, fixed in 2.10 via PR 63932 plugins/modules/zhmc_crypto_attachment.py validate-modules:import-error # Was broken in Ansible 2.9, fixed in 2.10 via PR 63932