mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 17:55:01 +00:00
style: fix linting issue in watch.py comment spacing
This commit is contained in:
parent
47296e4294
commit
4298ae00a9
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ def get_ai_comment(filepath, encoding="utf-8"):
|
|||
comments = []
|
||||
try:
|
||||
with open(filepath, encoding=encoding, errors="ignore") as f:
|
||||
for line in f:#ai
|
||||
for line in f: # ai
|
||||
if match := re.search(r"(?:#|//) *ai(\b.*)?", line, re.IGNORECASE):
|
||||
comment = match.group(1).strip()
|
||||
if comment:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue