-
Notifications
You must be signed in to change notification settings - Fork 176
Closed
Labels
bugUnexpected or incorrect user-visible behaviorUnexpected or incorrect user-visible behaviorinline-refactor
Milestone
Description
Fail to inlining code with inline comment.
To Reproduce
Steps to reproduce the behavior:
- Code before refactoring:
myvar = {
"key": "value", # noqa
}
print(myvar)
-
Describe the refactoring you want to do: Inline "myvar"
-
Expected code after refactoring:
print({
"key": "value", # noqa
})
- Describe the error or unexpected result that you are getting
Syntax error in file <tests/test_debug_application_credential.py> line <1>: '{' was never closed
Editor information (please complete the following information):
- Project Python version: 3.10.6
- Rope Python version: 3.10.6
- Rope version: rope==1.4.0
- Text editor/IDE and version: Vim
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugUnexpected or incorrect user-visible behaviorUnexpected or incorrect user-visible behaviorinline-refactor