ansible-review
ansible-review copied to clipboard
Documentation on disabling standards
Since #15 remains open, I'd like to disable the files_should_be_indented
standard in my codebase. How can I do this?
As the configuration that comes with ansible-review is supposed to be only an example, set up the ansible-review configuration to point to your own copy of standards.py and remove the standard you don't want from the list of standards.
It would be nice if one could disable a standard using a special comment in a file. Per repository configuration would be great but, for various reasons, it would be useful to allow a rule to be disabled for a single file. This is typically done by a special comment in a file. Some checkers allow this to be done just for the next line while others change the setting for the entire file.