style: fix string quote consistency in comment parsing

This commit is contained in:
Paul Gauthier (aider) 2024-12-01 07:48:39 -08:00
parent 21dffa26b9
commit c56f06fbcb

View file

@ -205,7 +205,7 @@ class FileWatcher:
if comment:
comments.append(comment)
line_nums.append(i)
if comment.strip().endswith('!'):
if comment.strip().endswith("!"):
has_bang = True
except Exception:
return None, None, False