lint: Run whitespace linter against .yml files.

Lint now checks for .yml files with whitespace_rules.
This commit is contained in:
arpit551 2020-03-24 23:36:24 +05:30 committed by Tim Abbott
parent 6c1f1e12fe
commit 0c821424cd
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ def run():
linter_config = LinterConfig(args) linter_config = LinterConfig(args)
by_lang = linter_config.list_files(groups={ by_lang = linter_config.list_files(groups={
'backend': ['py', 'sh', 'pp', 'json', 'md', 'txt', 'text', 'yaml', 'rst'], 'backend': ['py', 'sh', 'pp', 'json', 'md', 'txt', 'text', 'yaml', 'rst', 'yml'],
'frontend': ['js', 'ts', 'css', 'scss', 'hbs', 'html', 'lock'], 'frontend': ['js', 'ts', 'css', 'scss', 'hbs', 'html', 'lock'],
}, exclude=EXCLUDED_FILES) }, exclude=EXCLUDED_FILES)

View File

@ -838,7 +838,7 @@ help_markdown_rules = RuleList(
) )
txt_rules = RuleList( txt_rules = RuleList(
langs=['txt', 'text', 'yaml', 'rst'], langs=['txt', 'text', 'yaml', 'rst', 'yml'],
rules=whitespace_rules, rules=whitespace_rules,
) )
non_py_rules = [ non_py_rules = [