mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
style: format watch_source_files function signature
This commit is contained in:
parent
b985a8d47a
commit
add3fa43c6
1 changed files with 3 additions and 1 deletions
|
@ -58,7 +58,9 @@ def load_gitignores(gitignore_paths: list[Path]) -> Optional[PathSpec]:
|
|||
return PathSpec.from_lines(GitWildMatchPattern, patterns) if patterns else None
|
||||
|
||||
|
||||
def watch_source_files(directory: str, stop_event=None, gitignores: list[str] = None, ignore_func=None) -> Set[str]:
|
||||
def watch_source_files(
|
||||
directory: str, stop_event=None, gitignores: list[str] = None, ignore_func=None
|
||||
) -> Set[str]:
|
||||
"""
|
||||
Watch for changes to source files in the given directory and its subdirectories.
|
||||
Returns a set of changed file paths whenever changes are detected.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue