Skip to content

Commit

Permalink
Added sanity ignore file for ansible-core 2.11; fixed Pylint issues
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
andy-maier committed Jun 8, 2021
1 parent 66e2fbc commit 9c6290d
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/source/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
22 changes: 22 additions & 0 deletions tests/sanity/ignore-2.11.txt
Original file line number Diff line number Diff line change
@@ -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}

0 comments on commit 9c6290d

Please sign in to comment.