From 239262f3608ece6d38009b96d14dc88737fa3058 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Wed, 11 Dec 2024 20:28:07 -0800 Subject: [PATCH] style: Format gitignore patterns for readability --- aider/watch.py | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/aider/watch.py b/aider/watch.py index dff865e8c..c4971de60 100644 --- a/aider/watch.py +++ b/aider/watch.py @@ -74,19 +74,19 @@ def load_gitignores(gitignore_paths: list[Path]) -> Optional[PathSpec]: ".aider*", ".git", # Common editor backup/temp files - "*~", # Emacs/vim backup - "*.bak", # Generic backup - "*.swp", # Vim swap - "*.swo", # Vim swap - "#*#", # Emacs auto-save - ".#*", # Emacs lock files - "*.tmp", # Generic temp files - "*.temp", # Generic temp files - "*.orig", # Merge conflict originals - "*.pyc", # Python bytecode - "__pycache__/", # Python cache dir - ".DS_Store", # macOS metadata - "Thumbs.db", # Windows thumbnail cache + "*~", # Emacs/vim backup + "*.bak", # Generic backup + "*.swp", # Vim swap + "*.swo", # Vim swap + "#*#", # Emacs auto-save + ".#*", # Emacs lock files + "*.tmp", # Generic temp files + "*.temp", # Generic temp files + "*.orig", # Merge conflict originals + "*.pyc", # Python bytecode + "__pycache__/", # Python cache dir + ".DS_Store", # macOS metadata + "Thumbs.db", # Windows thumbnail cache ] # Always ignore for path in gitignore_paths: if path.exists():