mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
Remove unuseful suspicious code lint check.
This commit is contained in:
@@ -132,10 +132,6 @@ js_rules = [
|
|||||||
'description': 'Missing space between else and {'},
|
'description': 'Missing space between else and {'},
|
||||||
] + whitespace_rules
|
] + whitespace_rules
|
||||||
python_rules = [
|
python_rules = [
|
||||||
{'pattern': "'[^']*'\s+\([^']*$",
|
|
||||||
'description': "Suspicious code with quoting around function name"},
|
|
||||||
{'pattern': '"[^"]*"\s+\([^"]*$',
|
|
||||||
'description': "Suspicious code with quoting around function name"},
|
|
||||||
{'pattern': '".*"%\([a-z_].*\)?$',
|
{'pattern': '".*"%\([a-z_].*\)?$',
|
||||||
'description': 'Missing space around "%"'},
|
'description': 'Missing space around "%"'},
|
||||||
{'pattern': "'.*'%\([a-z_].*\)?$",
|
{'pattern': "'.*'%\([a-z_].*\)?$",
|
||||||
|
|||||||
Reference in New Issue
Block a user