style: fix linting issues in watch.py

This commit is contained in:
Paul Gauthier (aider) 2024-10-25 09:55:54 -07:00
parent f33cd4e419
commit c08dcff56d

View file

@ -4,8 +4,10 @@ from typing import Optional, Set
from pathspec import PathSpec from pathspec import PathSpec
from pathspec.patterns import GitWildMatchPattern from pathspec.patterns import GitWildMatchPattern
from watchfiles import watch from watchfiles import watch
from aider.dump import dump from aider.dump import dump
def is_source_file(path: Path) -> bool: def is_source_file(path: Path) -> bool:
""" """
Check if a file is a source file that uses # or // style comments. Check if a file is a source file that uses # or // style comments.