mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-08 13:44:59 +00:00
style: Use double quotes for string literal in read_text() call
This commit is contained in:
parent
8d4d7af7d0
commit
91cd9d6b51
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ class Linter:
|
||||||
def lint(self, fname, cmd=None):
|
def lint(self, fname, cmd=None):
|
||||||
rel_fname = self.get_rel_fname(fname)
|
rel_fname = self.get_rel_fname(fname)
|
||||||
try:
|
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:
|
except Exception as e:
|
||||||
print(f"Error reading file {fname}: {str(e)}")
|
print(f"Error reading file {fname}: {str(e)}")
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue