diff --git a/pre_commit_hooks/string_fixer.py b/pre_commit_hooks/string_fixer.py index 616c08c..9d2213a 100644 --- a/pre_commit_hooks/string_fixer.py +++ b/pre_commit_hooks/string_fixer.py @@ -8,7 +8,7 @@ import tokenize double_quote_starts = tuple(s for s in tokenize.single_quoted if '"' in s) -compiled_tokenize_string = re.compile(tokenize.String) +compiled_tokenize_string = re.compile('(?