This commit is contained in:
Paul Gauthier 2024-12-05 16:34:58 -08:00
parent e14c84f2fb
commit 9930057171
6 changed files with 316 additions and 255 deletions

View file

@ -218,7 +218,7 @@ Be sure to remove all these "ai" comments from the code!
line_nums = []
comments = []
has_bang = False
content = self.io.read_text(filepath)
content = self.io.read_text(filepath, silent=True)
for i, line in enumerate(content.splitlines(), 1):
if match := self.ai_comment_pattern.search(line):
comment = match.group(0).strip()