style: fix line length in watch.py by wrapping function call

This commit is contained in:
Paul Gauthier (aider) 2024-10-25 09:51:55 -07:00
parent d06f1ecf19
commit 24e66337ff

View file

@ -113,7 +113,9 @@ def main():
return "test" in path.name.lower()
try:
for changed_files in watch_source_files(directory, args.gitignore, ignore_func=ignore_test_files):
for changed_files in watch_source_files(
directory, args.gitignore, ignore_func=ignore_test_files
):
print("\nChanged files:")
for file in sorted(changed_files):
print(f" {file}")