mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-03 11:14:59 +00:00
style: apply linter fixes
This commit is contained in:
parent
920b20b17d
commit
ee9ad75509
2 changed files with 2 additions and 4 deletions
|
@ -822,7 +822,6 @@ def get_parser(default_config_files, git_root):
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
##########
|
##########
|
||||||
group = parser.add_argument_group("Deprecated model settings")
|
group = parser.add_argument_group("Deprecated model settings")
|
||||||
# Add deprecated model shortcut arguments
|
# Add deprecated model shortcut arguments
|
||||||
|
|
|
@ -14,8 +14,8 @@ except ImportError:
|
||||||
git = None
|
git = None
|
||||||
|
|
||||||
import importlib_resources
|
import importlib_resources
|
||||||
from dotenv import load_dotenv
|
|
||||||
import shtab
|
import shtab
|
||||||
|
from dotenv import load_dotenv
|
||||||
from prompt_toolkit.enums import EditingMode
|
from prompt_toolkit.enums import EditingMode
|
||||||
|
|
||||||
from aider import __version__, models, urls, utils
|
from aider import __version__, models, urls, utils
|
||||||
|
@ -509,7 +509,6 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
||||||
print(shtab.complete(parser, shell=args.shell_completions))
|
print(shtab.complete(parser, shell=args.shell_completions))
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
|
|
||||||
if git is None:
|
if git is None:
|
||||||
args.git = False
|
args.git = False
|
||||||
|
|
||||||
|
@ -912,7 +911,7 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
||||||
commit_prompt=args.commit_prompt,
|
commit_prompt=args.commit_prompt,
|
||||||
subtree_only=args.subtree_only,
|
subtree_only=args.subtree_only,
|
||||||
git_commit_verify=args.git_commit_verify,
|
git_commit_verify=args.git_commit_verify,
|
||||||
attribute_co_authored_by=args.attribute_co_authored_by, # Pass the arg
|
attribute_co_authored_by=args.attribute_co_authored_by, # Pass the arg
|
||||||
)
|
)
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue