Fix(process_mysql): Fix invalid escape sequence `\*`
authorOleg Broytman <phd@phdru.name>
Wed, 26 Feb 2020 22:49:47 +0000 (01:49 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 27 Feb 2020 21:40:44 +0000 (00:40 +0300)
sqlconvert/process_mysql.py

index 303dcf3..c89d6d1 100644 (file)
@@ -29,7 +29,7 @@ def is_directive_statement(statement):
 
 
 def remove_directive_tokens(statement):
-    """Remove /\*! directives \*/ from the first-level"""  # noqa: W605: \*
+    """Remove /*! directives */ from the first-level"""
     new_tokens = []
     for token in statement.tokens:
         if _is_directive_token(token):