fix flake8 non-sense about \ in string literal

This commit is contained in:
Marcell Vazquez-Chanlatte 2018-12-19 11:28:54 -08:00
parent c0b1dfd5ec
commit 99333230a5

View file

@ -39,15 +39,15 @@ interval = "[" __ const_or_unbound __ "," __ const_or_unbound __ "]"
const_or_unbound = const / "inf" / id
AP = ~r"[a-z][a-z\d]*"
AP = ~r"[a-z][a-z\\d]*"
bot = "FALSE"
top = "TRUE"
id = ~r"[a-z\d]+"
const = ~r"[-+]?(\d*\.\d+|\d+)"
_ = ~r"\s"+
__ = ~r"\s"*
id = ~r"[a-z\\d]+"
const = ~r"[-+]?(\\d*\\.\\d+|\\d+)"
_ = ~r"\\s"+
__ = ~r"\\s"*
EOL = "\\n"
''')