mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 17:55:01 +00:00
style: format imports and whitespace
This commit is contained in:
parent
43d3cf2c71
commit
93c089c5ec
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
from aider.utils import scrub_sensitive_info
|
||||
|
||||
|
||||
def format_settings(parser, args):
|
||||
show = scrub_sensitive_info(args, parser.format_values())
|
||||
# clean up the headings for consistency w/ new lines
|
||||
|
|
|
@ -10,10 +10,10 @@ from dotenv import load_dotenv
|
|||
from prompt_toolkit.enums import EditingMode
|
||||
|
||||
from aider import __version__, models, utils
|
||||
from aider.format_settings import format_settings
|
||||
from aider.args import get_parser
|
||||
from aider.coders import Coder
|
||||
from aider.commands import Commands, SwitchCoder
|
||||
from aider.format_settings import format_settings
|
||||
from aider.history import ChatSummary
|
||||
from aider.io import InputOutput
|
||||
from aider.llm import litellm # noqa: F401; properly init litellm on launch
|
||||
|
@ -133,7 +133,6 @@ def check_gitignore(git_root, io, ask=True):
|
|||
io.tool_output(f"Added {pat} to .gitignore")
|
||||
|
||||
|
||||
|
||||
def scrub_sensitive_info(args, text):
|
||||
# Replace sensitive information with last 4 characters
|
||||
if text and args.openai_api_key:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue