Custom linting settings for ansible-test sanity

49 views
Skip to first unread message

Tom Bartsch

unread,
Jun 9, 2022, 7:39:24 AM6/9/22
to Ansible Project
Hi there,

I started to use ansible-test sanity for testing my ansible code. I know I am able to ignore some of these tests for some parts of my ansible collection with a ignore.txt file within my tests/sanity directory.

Now I am wondering that I can't find any possibility to inject or overwrite some default rules of sanity with custom rules. So for example I want a special line length to check if it's met or I want to except more than 1 empty lines for the empty-lines check. Does anyone know what I have to do to use some custom rules for the "ansible-test sanity" command?

Kindly Regards,
Tom
Reply all
Reply to author
Forward
0 new messages