mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 04:35:00 +00:00
Added a new command to run the linter on dirty files, fix problems, and then commit.
This commit is contained in:
parent
7b8e603249
commit
04084883e8
4 changed files with 38 additions and 1 deletions
|
@ -311,6 +311,12 @@ def get_parser(default_config_files, git_root):
|
|||
help="Commit all pending changes with a suitable commit message, then exit",
|
||||
default=False,
|
||||
)
|
||||
group.add_argument(
|
||||
"--lint",
|
||||
action="store_true",
|
||||
help="Run the linter on all dirty files, fix problems and then commit.",
|
||||
default=False,
|
||||
)
|
||||
|
||||
##########
|
||||
group = parser.add_argument_group("Other Settings")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue