style: Fix linting issues in test_watch.py

This commit is contained in:
Paul Gauthier (aider) 2024-12-01 10:01:59 -08:00
parent c3d6484f6c
commit 5d5fed62f2

View file

@ -1,11 +1,13 @@
from pathlib import Path from pathlib import Path
from aider.watch import FileWatcher from aider.watch import FileWatcher
def test_ai_comment_pattern(): def test_ai_comment_pattern():
# Test various AI comment patterns # Test various AI comment patterns
test_comments = [ test_comments = [
"# ai do something", "# ai do something",
"# AI make this better", "# AI make this better",
"# ai! urgent change needed", "# ai! urgent change needed",
"# AI! another urgent one", "# AI! another urgent one",
"//ai javascript style", "//ai javascript style",