mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
Updated linting functionality to only run linting without committing.
This commit is contained in:
parent
7391903759
commit
5a6e72a64b
2 changed files with 1 additions and 3 deletions
|
@ -20,8 +20,6 @@ class Linter:
|
||||||
|
|
||||||
self.languages = dict(
|
self.languages = dict(
|
||||||
python=self.py_lint,
|
python=self.py_lint,
|
||||||
#python="/Users/gauthier/Projects/aider/tmp.sh",
|
|
||||||
#python="flake8 --show-source",
|
|
||||||
)
|
)
|
||||||
|
|
||||||
def set_linter(self, lang, cmd):
|
def set_linter(self, lang, cmd):
|
||||||
|
|
|
@ -355,7 +355,7 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
||||||
coder.commands.cmd_commit("")
|
coder.commands.cmd_commit("")
|
||||||
return
|
return
|
||||||
|
|
||||||
if args.lint_and_commit:
|
if args.lint:
|
||||||
coder.commands.cmd_lint("")
|
coder.commands.cmd_lint("")
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue