mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
style: Format code according to linter rules
This commit is contained in:
parent
a9a1f5e247
commit
b79776f78f
1 changed files with 9 additions and 1 deletions
10
aider/io.py
10
aider/io.py
|
@ -230,7 +230,15 @@ class InputOutput:
|
||||||
with open(str(filename), "w", encoding=self.encoding) as f:
|
with open(str(filename), "w", encoding=self.encoding) as f:
|
||||||
f.write(content)
|
f.write(content)
|
||||||
|
|
||||||
def get_input(self, root, rel_fnames, addable_rel_fnames, commands, abs_read_only_fnames=None, edit_format=None):
|
def get_input(
|
||||||
|
self,
|
||||||
|
root,
|
||||||
|
rel_fnames,
|
||||||
|
addable_rel_fnames,
|
||||||
|
commands,
|
||||||
|
abs_read_only_fnames=None,
|
||||||
|
edit_format=None,
|
||||||
|
):
|
||||||
if self.pretty:
|
if self.pretty:
|
||||||
style = dict(style=self.user_input_color) if self.user_input_color else dict()
|
style = dict(style=self.user_input_color) if self.user_input_color else dict()
|
||||||
self.console.rule(**style)
|
self.console.rule(**style)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue