matchplay false postivies cannot be disabled with # noqa #1851
Unanswered
cdesouza71
asked this question in
Q&A
Replies: 1 comment 1 reply
-
This is a false bug report as the tool version was outdated and the real output looks like below:
If you read the docs, you will find that you cannot ignore syntax-check failures, as these are coming from Ansible. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
False positives reported by matchplay cannot be disabled with # noqa rule-name
Issue Type
Ansible and Ansible Lint details
OS / ENVIRONMENT
STEPS TO REPRODUCE
ansible-lint -p -t var-naming
playbook.yml
Desired Behaviour
The invalid variable name should be ignored due to the # noqa var-naming. Note var-naming is just an example rule that is used to illustrate the issues. As far as I can tell this is the case for all rules that rule matchplay.
Actual Behaviour
Beta Was this translation helpful? Give feedback.
All reactions