style: reformat code with ruff
This commit is contained in:
+4
-2
@@ -9,7 +9,9 @@ class SpanComment(SpanToken):
|
||||
Coment span token (% Eiersalat).
|
||||
Identifies a comment in text.
|
||||
"""
|
||||
pattern = re.compile(r'(%.*\n?)')
|
||||
|
||||
pattern = re.compile(r"(%.*\n?)")
|
||||
|
||||
|
||||
class BlockComment(BlockToken):
|
||||
@staticmethod
|
||||
@@ -19,4 +21,4 @@ class BlockComment(BlockToken):
|
||||
@classmethod
|
||||
def read(cls, lines):
|
||||
next(lines)
|
||||
return None
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user