mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-07 21:24:59 +00:00
Added an argument for enabling/disabling automatic linting after changes.
This commit is contained in:
parent
73dd873f86
commit
76038e69d7
1 changed files with 1 additions and 2 deletions
|
@ -14,14 +14,13 @@ def get_parser(default_config_files, git_root):
|
||||||
config_file_parser_class=configargparse.YAMLConfigFileParser,
|
config_file_parser_class=configargparse.YAMLConfigFileParser,
|
||||||
auto_env_var_prefix="AIDER_",
|
auto_env_var_prefix="AIDER_",
|
||||||
)
|
)
|
||||||
|
##########
|
||||||
group.add_argument(
|
group.add_argument(
|
||||||
"--auto-lint",
|
"--auto-lint",
|
||||||
action=argparse.BooleanOptionalAction,
|
action=argparse.BooleanOptionalAction,
|
||||||
default=True,
|
default=True,
|
||||||
help="Enable/disable automatic linting after changes (default: True)",
|
help="Enable/disable automatic linting after changes (default: True)",
|
||||||
)
|
)
|
||||||
|
|
||||||
##########
|
|
||||||
group = parser.add_argument_group("Main")
|
group = parser.add_argument_group("Main")
|
||||||
group.add_argument(
|
group.add_argument(
|
||||||
"files",
|
"files",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue