mirror of https://github.com/zulip/zulip.git
lint-all: Add Python check for space after if.
This commit is contained in:
parent
dfc9e75342
commit
88368397aa
|
@ -222,6 +222,8 @@ python_rules = [
|
|||
{'pattern': "#type",
|
||||
'exclude': 'tools/lint-all',
|
||||
'description': 'Missing whitespace after "#" in type annotation'},
|
||||
{'pattern': 'if[(]',
|
||||
'description': 'Missing space between if and ('},
|
||||
{'pattern': ", [)]",
|
||||
'description': 'Unnecessary whitespace between "," and ")"'},
|
||||
{'pattern': "% [(]",
|
||||
|
|
Loading…
Reference in New Issue