mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 02:34:59 +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
|
from aider.utils import scrub_sensitive_info
|
||||||
|
|
||||||
|
|
||||||
def format_settings(parser, args):
|
def format_settings(parser, args):
|
||||||
show = scrub_sensitive_info(args, parser.format_values())
|
show = scrub_sensitive_info(args, parser.format_values())
|
||||||
# clean up the headings for consistency w/ new lines
|
# 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 prompt_toolkit.enums import EditingMode
|
||||||
|
|
||||||
from aider import __version__, models, utils
|
from aider import __version__, models, utils
|
||||||
from aider.format_settings import format_settings
|
|
||||||
from aider.args import get_parser
|
from aider.args import get_parser
|
||||||
from aider.coders import Coder
|
from aider.coders import Coder
|
||||||
from aider.commands import Commands, SwitchCoder
|
from aider.commands import Commands, SwitchCoder
|
||||||
|
from aider.format_settings import format_settings
|
||||||
from aider.history import ChatSummary
|
from aider.history import ChatSummary
|
||||||
from aider.io import InputOutput
|
from aider.io import InputOutput
|
||||||
from aider.llm import litellm # noqa: F401; properly init litellm on launch
|
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")
|
io.tool_output(f"Added {pat} to .gitignore")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def scrub_sensitive_info(args, text):
|
def scrub_sensitive_info(args, text):
|
||||||
# Replace sensitive information with last 4 characters
|
# Replace sensitive information with last 4 characters
|
||||||
if text and args.openai_api_key:
|
if text and args.openai_api_key:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue