mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 20:54:59 +00:00
style: Format gitignore patterns for readability
This commit is contained in:
parent
9eb938fd6f
commit
239262f360
1 changed files with 13 additions and 13 deletions
|
@ -74,19 +74,19 @@ def load_gitignores(gitignore_paths: list[Path]) -> Optional[PathSpec]:
|
||||||
".aider*",
|
".aider*",
|
||||||
".git",
|
".git",
|
||||||
# Common editor backup/temp files
|
# Common editor backup/temp files
|
||||||
"*~", # Emacs/vim backup
|
"*~", # Emacs/vim backup
|
||||||
"*.bak", # Generic backup
|
"*.bak", # Generic backup
|
||||||
"*.swp", # Vim swap
|
"*.swp", # Vim swap
|
||||||
"*.swo", # Vim swap
|
"*.swo", # Vim swap
|
||||||
"#*#", # Emacs auto-save
|
"#*#", # Emacs auto-save
|
||||||
".#*", # Emacs lock files
|
".#*", # Emacs lock files
|
||||||
"*.tmp", # Generic temp files
|
"*.tmp", # Generic temp files
|
||||||
"*.temp", # Generic temp files
|
"*.temp", # Generic temp files
|
||||||
"*.orig", # Merge conflict originals
|
"*.orig", # Merge conflict originals
|
||||||
"*.pyc", # Python bytecode
|
"*.pyc", # Python bytecode
|
||||||
"__pycache__/", # Python cache dir
|
"__pycache__/", # Python cache dir
|
||||||
".DS_Store", # macOS metadata
|
".DS_Store", # macOS metadata
|
||||||
"Thumbs.db", # Windows thumbnail cache
|
"Thumbs.db", # Windows thumbnail cache
|
||||||
] # Always ignore
|
] # Always ignore
|
||||||
for path in gitignore_paths:
|
for path in gitignore_paths:
|
||||||
if path.exists():
|
if path.exists():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue