fix flake8 non-sense about \ in string literal
This commit is contained in:
parent
c0b1dfd5ec
commit
99333230a5
1 changed files with 5 additions and 5 deletions
|
|
@ -39,15 +39,15 @@ interval = "[" __ const_or_unbound __ "," __ const_or_unbound __ "]"
|
||||||
|
|
||||||
const_or_unbound = const / "inf" / id
|
const_or_unbound = const / "inf" / id
|
||||||
|
|
||||||
AP = ~r"[a-z][a-z\d]*"
|
AP = ~r"[a-z][a-z\\d]*"
|
||||||
|
|
||||||
bot = "FALSE"
|
bot = "FALSE"
|
||||||
top = "TRUE"
|
top = "TRUE"
|
||||||
|
|
||||||
id = ~r"[a-z\d]+"
|
id = ~r"[a-z\\d]+"
|
||||||
const = ~r"[-+]?(\d*\.\d+|\d+)"
|
const = ~r"[-+]?(\\d*\\.\\d+|\\d+)"
|
||||||
_ = ~r"\s"+
|
_ = ~r"\\s"+
|
||||||
__ = ~r"\s"*
|
__ = ~r"\\s"*
|
||||||
EOL = "\\n"
|
EOL = "\\n"
|
||||||
''')
|
''')
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue