mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
style: Apply linter formatting to main.py
This commit is contained in:
parent
d9adaa5020
commit
88ee089d86
1 changed files with 3 additions and 2 deletions
|
@ -159,7 +159,7 @@ def check_gitignore(git_root, io, ask=True):
|
|||
try:
|
||||
repo = git.Repo(git_root)
|
||||
patterns_to_add = []
|
||||
|
||||
|
||||
if not repo.ignored(".aider"):
|
||||
patterns_to_add.append(".aider*")
|
||||
if not repo.ignored(".env"):
|
||||
|
@ -196,7 +196,8 @@ def check_gitignore(git_root, io, ask=True):
|
|||
except OSError as e:
|
||||
io.tool_error(f"Error when trying to write to {gitignore_file}: {e}")
|
||||
io.tool_output(
|
||||
"Try running with appropriate permissions or manually add these patterns to .gitignore:"
|
||||
"Try running with appropriate permissions or manually add these patterns to"
|
||||
" .gitignore:"
|
||||
)
|
||||
for pattern in patterns_to_add:
|
||||
io.tool_output(f" {pattern}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue