From df72317b29b3c1136084cfe52445d4b7f8210934 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Tue, 9 Apr 2019 22:10:32 +0200 Subject: [PATCH] Don't complain if type() is used. (#54849) --- test/sanity/validate-modules/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sanity/validate-modules/main.py b/test/sanity/validate-modules/main.py index 13593d644c..50c567b0fc 100755 --- a/test/sanity/validate-modules/main.py +++ b/test/sanity/validate-modules/main.py @@ -62,7 +62,7 @@ else: BLACKLIST_DIRS = frozenset(('.git', 'test', '.github', '.idea')) INDENT_REGEX = re.compile(r'([\t]*)') -TYPE_REGEX = re.compile(r'.*(if|or)(\s+[^"\']*|\s+)(?