|
|
|
@ -74,7 +74,7 @@ If the named test uses error codes then the error code to ignore must be appende
|
|
|
|
|
Below are some example ignore entries for an Ansible collection::
|
|
|
|
|
|
|
|
|
|
roles/my_role/files/my_script.sh shellcheck:SC2154 # ignore undefined variable
|
|
|
|
|
plugins/modules/my_module.py validate-modules:E105 # ignore license check
|
|
|
|
|
plugins/modules/my_module.py validate-modules:missing-gplv3-license # ignore license check
|
|
|
|
|
plugins/modules/my_module.py import-3.8 # needs update to support collections.abc on Python 3.8+
|
|
|
|
|
|
|
|
|
|
It is also possible to skip a sanity test for a specific file.
|
|
|
|
@ -86,6 +86,8 @@ Below are some example skip entries for an Ansible collection::
|
|
|
|
|
plugins/module_utils/my_util.py validate-modules!skip # waiting for bug fix in module validator
|
|
|
|
|
plugins/lookup/my_plugin.py compile-2.6!skip # Python 2.6 is not supported on the controller
|
|
|
|
|
|
|
|
|
|
See the full list of :ref:`sanity tests <all_sanity_tests>`, which details the various tests and details how to fix identified issues.
|
|
|
|
|
|
|
|
|
|
Ignore File Errors
|
|
|
|
|
------------------
|
|
|
|
|
|
|
|
|
|