Updated linting functionality to only run linting without committing.

This commit is contained in:
Paul Gauthier 2024-05-18 21:00:45 -07:00
parent 7391903759
commit 5a6e72a64b
2 changed files with 1 additions and 3 deletions

View file

@ -20,8 +20,6 @@ class Linter:
self.languages = dict(
python=self.py_lint,
#python="/Users/gauthier/Projects/aider/tmp.sh",
#python="flake8 --show-source",
)
def set_linter(self, lang, cmd):

View file

@ -355,7 +355,7 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
coder.commands.cmd_commit("")
return
if args.lint_and_commit:
if args.lint:
coder.commands.cmd_lint("")
return