diff options
author | Brian Coca <brian.coca+git@gmail.com> | 2015-10-27 19:59:12 -0400 |
---|---|---|
committer | Brian Coca <brian.coca+git@gmail.com> | 2015-10-27 19:59:43 -0400 |
commit | 5719912e7fcfa18ff3249bbb49f7b5e0032288cf (patch) | |
tree | 74cf90886e313f24635728953f3dbee8a971946b | |
parent | e6b1dc45e1f8fb0040579622239d26eddf65aefe (diff) | |
download | ansible-5719912e7fcfa18ff3249bbb49f7b5e0032288cf.tar.gz |
added a skip for the test dir in module repos
-rwxr-xr-x | hacking/module_formatter.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hacking/module_formatter.py b/hacking/module_formatter.py index e18aa8a837..f4ab5d7d9a 100755 --- a/hacking/module_formatter.py +++ b/hacking/module_formatter.py @@ -174,6 +174,10 @@ def list_modules(module_dir, depth=0): categories[category][module] = d categories['all'][module] = d + # keep module tests out of becomeing module docs + if 'test' in categories: + del categories['test'] + return categories ##################################################################################### |