(input_text: str, auto_accept: bool)
| 564 | |
| 565 | |
| 566 | def accept_suggestion(input_text: str, auto_accept: bool) -> bool: |
| 567 | sys.stdout.write(input_text) |
| 568 | if auto_accept: |
| 569 | sys.stdout.write("Y\n") |
| 570 | return True |
| 571 | return input().lower() != "n" |
| 572 | |
| 573 | |
| 574 | def apply_optional_remediation( |
no outgoing calls
no test coverage detected