From 91cd9d6b51766d87f8232e4ec626e9d547c659ae Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Thu, 29 Aug 2024 19:21:15 -0700 Subject: [PATCH] style: Use double quotes for string literal in read_text() call --- aider/linter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/linter.py b/aider/linter.py index e3f620408..fbe361386 100644 --- a/aider/linter.py +++ b/aider/linter.py @@ -77,7 +77,7 @@ class Linter: def lint(self, fname, cmd=None): rel_fname = self.get_rel_fname(fname) try: - code = Path(fname).read_text(encoding=self.encoding, errors='replace') + code = Path(fname).read_text(encoding=self.encoding, errors="replace") except Exception as e: print(f"Error reading file {fname}: {str(e)}") return