mirror of https://github.com/zulip/zulip.git
lint: Check for missing space after comments.
This commit is contained in:
parent
762a3188ee
commit
391a225595
|
@ -151,6 +151,9 @@ python_rules = [
|
|||
'description': 'Missing whitespace after ":"'},
|
||||
{'pattern': "':\w[^']*$",
|
||||
'description': 'Missing whitespace after ":"'},
|
||||
{'pattern': "^\s+[#]\w",
|
||||
'strip': '\n',
|
||||
'description': 'Missing whitespace after "#"'},
|
||||
# This next check could have false positives, but it seems pretty
|
||||
# rare; if we find any, they can be added to the exclude list for
|
||||
# this rule.
|
||||
|
|
Loading…
Reference in New Issue