mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
style: Format code for better readability in io.py
This commit is contained in:
parent
c22202585d
commit
869f37cd89
1 changed files with 3 additions and 2 deletions
|
@ -251,8 +251,9 @@ class InputOutput:
|
|||
f"Invalid line_endings value: {line_endings}. "
|
||||
f"Must be one of: {', '.join(valid_line_endings)}"
|
||||
)
|
||||
self.newline = None if line_endings == "platform" \
|
||||
else "\n" if line_endings == "lf" else "\r\n"
|
||||
self.newline = (
|
||||
None if line_endings == "platform" else "\n" if line_endings == "lf" else "\r\n"
|
||||
)
|
||||
self.dry_run = dry_run
|
||||
|
||||
current_time = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue