From 0ac212afb18c98ea929368e9ccf21101e7a8921c Mon Sep 17 00:00:00 2001 From: Hugo Thiessard Date: Wed, 21 Sep 2016 23:50:18 +0200 Subject: Issue #13350 Report tidy error for space after ( --- python/tidy/servo_tidy/tidy.py | 1 + 1 file changed, 1 insertion(+) (limited to 'python/tidy/servo_tidy/tidy.py') diff --git a/python/tidy/servo_tidy/tidy.py b/python/tidy/servo_tidy/tidy.py index 081352f8a43..4b02f9dbf07 100644 --- a/python/tidy/servo_tidy/tidy.py +++ b/python/tidy/servo_tidy/tidy.py @@ -483,6 +483,7 @@ def check_rust(file_name, lines): (r"\{[A-Za-z0-9_]+\};", "use statement contains braces for single import", lambda match, line: line.startswith('use ')), (r"^\s*else {", "else braces should be on the same line", no_filter), + (r"[^$ ]\([ \t]", "extra space after (", no_filter), ] for pattern, message, filter_func in regex_rules: -- cgit v1.2.3