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:
Matt Clay
2018-02-20 13:37:23 -08:00
committed by GitHub
parent ce80485ecd
commit 2b6ac4561b
5 changed files with 105 additions and 53 deletions

View File

@@ -0,0 +1,10 @@
{
"extensions": [
".py"
],
"prefixes": [
"bin/",
"lib/ansible/"
],
"output": "path-line-column-message"
}