From 9c6290da9d21a31a7e2cb758a7b4ba23e44fcd69 Mon Sep 17 00:00:00 2001 From: Andreas Maier Date: Tue, 8 Jun 2021 10:34:28 +0200 Subject: [PATCH] Added sanity ignore file for ansible-core 2.11; fixed Pylint issues Details: * Added an ignore file for the sanity test with ansible-core 2.11 by copying the one from 2.10, and removing some Pylint issues 'raise-missing-from'. * Added Pylint disable markers for some 'consider-using-generator' issues raised for docs/sources/conf.py. Signed-off-by: Andreas Maier --- docs/source/release_notes.rst | 3 +++ tests/sanity/ignore-2.11.txt | 22 ++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 tests/sanity/ignore-2.11.txt diff --git a/docs/source/release_notes.rst b/docs/source/release_notes.rst index c26b2f133..e51bc77b2 100644 --- a/docs/source/release_notes.rst +++ b/docs/source/release_notes.rst @@ -57,6 +57,9 @@ Released: not yet uses the deprecated Sphinx.add_stylesheet() method that was removed in Sphinx 4.0. (issue #402) +* Test: Added sanity test ignore file for ansible-core 2.11 and fixed some + Pylint issues to pass the test. + **Enhancements:** * Docs: The idempotency of each module and possible limitations are now diff --git a/tests/sanity/ignore-2.11.txt b/tests/sanity/ignore-2.11.txt new file mode 100644 index 000000000..9e1f29e7b --- /dev/null +++ b/tests/sanity/ignore-2.11.txt @@ -0,0 +1,22 @@ +plugins/modules/zhmc_adapter.py validate-modules:missing-gplv3-license # Licensed under Apache 2.0 +plugins/modules/zhmc_crypto_attachment.py validate-modules:missing-gplv3-license # Licensed under Apache 2.0 +plugins/modules/zhmc_cpc.py validate-modules:missing-gplv3-license # Licensed under Apache 2.0 +plugins/modules/zhmc_hba.py validate-modules:missing-gplv3-license # Licensed under Apache 2.0 +plugins/modules/zhmc_nic.py validate-modules:missing-gplv3-license # Licensed under Apache 2.0 +plugins/modules/zhmc_partition.py validate-modules:missing-gplv3-license # Licensed under Apache 2.0 +plugins/modules/zhmc_storage_group.py validate-modules:missing-gplv3-license # Licensed under Apache 2.0 +plugins/modules/zhmc_storage_group_attachment.py validate-modules:missing-gplv3-license # Licensed under Apache 2.0 +plugins/modules/zhmc_storage_volume.py validate-modules:missing-gplv3-license # Licensed under Apache 2.0 +plugins/modules/zhmc_user.py validate-modules:missing-gplv3-license # Licensed under Apache 2.0 +plugins/modules/zhmc_virtual_function.py validate-modules:missing-gplv3-license # Licensed under Apache 2.0 +tools/os_setup.sh shebang # using /bin/bash +plugins/modules/zhmc_adapter.py validate-modules:return-syntax-error # Missing type on generic {property} +plugins/modules/zhmc_cpc.py validate-modules:return-syntax-error # Missing type on generic {property} +plugins/modules/zhmc_crypto_attachment.py validate-modules:return-syntax-error # Missing type on generic {property} +plugins/modules/zhmc_hba.py validate-modules:return-syntax-error # Missing type on generic {property} +plugins/modules/zhmc_nic.py validate-modules:return-syntax-error # Missing type on generic {property} +plugins/modules/zhmc_partition.py validate-modules:return-syntax-error # Missing type on generic {property} +plugins/modules/zhmc_storage_group.py validate-modules:return-syntax-error # Missing type on generic {property} +plugins/modules/zhmc_storage_volume.py validate-modules:return-syntax-error # Missing type on generic {property} +plugins/modules/zhmc_user.py validate-modules:return-syntax-error # Missing type on generic {property} +plugins/modules/zhmc_virtual_function.py validate-modules:return-syntax-error # Missing type on generic {property}