Add *.txt and test dir to exclusions
This commit is contained in:
parent
cd88cb753c
commit
6bcc5e6f6a
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ from utils import find_globals
|
||||||
import yaml
|
import yaml
|
||||||
|
|
||||||
|
|
||||||
BLACKLIST_DIRS = frozenset(('.git',))
|
BLACKLIST_DIRS = frozenset(('.git', 'test'))
|
||||||
INDENT_REGEX = re.compile(r'([\t]*)')
|
INDENT_REGEX = re.compile(r'([\t]*)')
|
||||||
BASIC_RESERVED = frozenset((r for r in dir(module_utils_basic) if r[0] != '_'))
|
BASIC_RESERVED = frozenset((r for r in dir(module_utils_basic) if r[0] != '_'))
|
||||||
|
|
||||||
|
@ -89,7 +89,7 @@ class Validator(object):
|
||||||
|
|
||||||
|
|
||||||
class ModuleValidator(Validator):
|
class ModuleValidator(Validator):
|
||||||
BLACKLIST_PATTERNS = ('.git*', '*.pyc', '*.pyo', '.*', '*.md')
|
BLACKLIST_PATTERNS = ('.git*', '*.pyc', '*.pyo', '.*', '*.md', '*.txt')
|
||||||
BLACKLIST_FILES = frozenset(('.git', '.gitignore', '.travis.yml',
|
BLACKLIST_FILES = frozenset(('.git', '.gitignore', '.travis.yml',
|
||||||
'.gitattributes', '.gitmodules', 'COPYING',
|
'.gitattributes', '.gitmodules', 'COPYING',
|
||||||
'__init__.py', 'VERSION', 'test-docs.sh'))
|
'__init__.py', 'VERSION', 'test-docs.sh'))
|
||||||
|
|
Loading…
Reference in a new issue