mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Add support for enhanced code-smell tests. (#36332)
* Add support for enhanced code-smell tests: - Path selection handled by ansible-test. - Optional path filtering based on extension. - Optional path filtering based on prefixes. - Optional lint friendly output. * Enhance no-assert code-smell test. * Enhance no-tests-as-filters code-smell test.
This commit is contained in:
10
test/sanity/code-smell/no-assert.json
Normal file
10
test/sanity/code-smell/no-assert.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"extensions": [
|
||||
".py"
|
||||
],
|
||||
"prefixes": [
|
||||
"bin/",
|
||||
"lib/ansible/"
|
||||
],
|
||||
"output": "path-line-column-message"
|
||||
}
|
||||
Reference in New Issue
Block a user