mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
lint: Run whitespace linter against .yml files.
Lint now checks for .yml files with whitespace_rules.
This commit is contained in:
@@ -47,7 +47,7 @@ def run():
|
||||
linter_config = LinterConfig(args)
|
||||
|
||||
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'],
|
||||
}, exclude=EXCLUDED_FILES)
|
||||
|
||||
|
||||
@@ -838,7 +838,7 @@ help_markdown_rules = RuleList(
|
||||
)
|
||||
|
||||
txt_rules = RuleList(
|
||||
langs=['txt', 'text', 'yaml', 'rst'],
|
||||
langs=['txt', 'text', 'yaml', 'rst', 'yml'],
|
||||
rules=whitespace_rules,
|
||||
)
|
||||
non_py_rules = [
|
||||
|
||||
Reference in New Issue
Block a user