From 9c406cd17616f2933d61814b2abc7394c4ab9943 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Tue, 30 Jul 2024 15:09:41 -0300 Subject: [PATCH] Add linting for all dirty files in the repository --- aider/commands.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/aider/commands.py b/aider/commands.py index 607bab9f4..48c7b12d7 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -227,14 +227,10 @@ class Commands: if not fnames: fnames = self.coder.get_inchat_relative_files() - dump(fnames) - # If still no files, get all dirty files in the repo if not fnames and self.coder.repo: fnames = [item.a_path for item in self.coder.repo.repo.index.diff(None)] - dump(fnames) - if not fnames: self.io.tool_error("No dirty files to lint.") return