sanity¶
This rule checks the tests/sanity/ignore-x.x.txt file for disallowed ignores.
This rule is extremely opinionated and enforced by Partner Engineering as a requirement for Red Hat Certification. The
currently allowed ruleset is subject to change, but is starting at a minimal
number of allowed ignores for maximum test enforcement. Any commented-out ignore
entries are not evaluated, and ignore files for unsupported versions of ansible-core are not evaluated.
This rule can produce messages like:
sanity[cannot-ignore]- Ignore file contains {test} at line {line_num}, which is not a permitted ignore.sanity[bad-ignore]- Ignore file entry at {line_num} is formatted incorrectly. Please review.
Currently allowed ignores for all Ansible versions are:
validate-modules:missing-gplv3-licenseaction-plugin-docsimport-2.6import-2.6!skipimport-2.7import-2.7!skipimport-3.5import-3.5!skipcompile-2.6compile-2.6!skipcompile-2.7compile-2.7!skipcompile-3.5compile-3.5!skipshellcheckshebangpylint:used-before-assignment