1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Update validate-modules to ignore *.rst files.

This commit is contained in:
Matt Clay 2017-04-26 15:32:17 +08:00
parent 0587d59266
commit a871e590a8

View file

@ -202,7 +202,7 @@ class Validator(with_metaclass(abc.ABCMeta, object)):
class ModuleValidator(Validator):
BLACKLIST_PATTERNS = ('.git*', '*.pyc', '*.pyo', '.*', '*.md', '*.txt')
BLACKLIST_PATTERNS = ('.git*', '*.pyc', '*.pyo', '.*', '*.md', '*.rst', '*.txt')
BLACKLIST_FILES = frozenset(('.git', '.gitignore', '.travis.yml',
'shippable.yml',
'.gitattributes', '.gitmodules', 'COPYING',