style: fix line length in watch_files function

This commit is contained in:
Paul Gauthier (aider) 2024-10-25 12:56:25 -07:00
parent bc4664d62c
commit a999020038

View file

@ -369,7 +369,9 @@ class InputOutput:
def watch_files():
try:
gitignore = [str(Path(root) / ".gitignore")]
for changed in watch_source_files(root, stop_event=stop_event, gitignores=gitignore):
for changed in watch_source_files(
root, stop_event=stop_event, gitignores=gitignore
):
dump(changed)
if changed:
self.changed_files = list(changed)[0] # Take the first changed file