From ee9ad75509a6af39c020a0e228c82595e6101330 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Thu, 8 May 2025 14:32:08 -0700 Subject: [PATCH] style: apply linter fixes --- aider/args.py | 1 - aider/main.py | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/aider/args.py b/aider/args.py index 4e57f5c35..1543bb07e 100644 --- a/aider/args.py +++ b/aider/args.py @@ -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 diff --git a/aider/main.py b/aider/main.py index 82d00f474..ea344f0ba 100644 --- a/aider/main.py +++ b/aider/main.py @@ -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