style: reformat code with ruff

This commit is contained in:
Tim Grelka
2024-12-11 01:09:42 +01:00
parent 0b4ce5b8b8
commit 7ef19075ee
17 changed files with 132 additions and 126 deletions
+4 -2
View File
@@ -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