rope
rope copied to clipboard
Remove Argument - refactoring produces syntax error at callsite when one of the arguments contains string-formatting
Describe the bug Somehow the refactoring at the callsite messes up an unrelated string.format-argument
To Reproduce Steps to reproduce the behavior:
- Code before refactoring:
print_or_log_messages(None, ' write into: {}'.format(folder_path_input_data))
-
Remove the first argument (at the definition of print_or_log_messages)
-
Expected code after refactoring:
print_or_log_messages(' write into: {}'.format(folder_path_input_data))
- Describe the error or unexpected result that you are getting
print_or_log_messages(' write into)
Editor information (please complete the following information):
- Project Python version: 3.7.9
- Rope Python version: 3.7.9
- Rope version: 1.8.0
- Text editor/IDE and version: (no editor, using rope as a library)
Additional context still love your library