style: apply linter fixes

This commit is contained in:
Paul Gauthier (aider) 2025-05-08 14:32:08 -07:00
parent 920b20b17d
commit ee9ad75509
2 changed files with 2 additions and 4 deletions

View file

@ -822,7 +822,6 @@ def get_parser(default_config_files, git_root):
),
)
##########
group = parser.add_argument_group("Deprecated model settings")
# Add deprecated model shortcut arguments

View file

@ -14,8 +14,8 @@ except ImportError:
git = None
import importlib_resources
from dotenv import load_dotenv
import shtab
from dotenv import load_dotenv
from prompt_toolkit.enums import EditingMode
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))
sys.exit(0)
if git is None:
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,
subtree_only=args.subtree_only,
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:
pass