-
Notifications
You must be signed in to change notification settings - Fork 176
Closed
Labels
affected-version:0.21bugUnexpected or incorrect user-visible behaviorUnexpected or incorrect user-visible behaviormove-refactor
Milestone
Description
Moving class doesn't move class decorator.
Steps to reproduce the behavior:
- Code before refactoring:
mod1.py
@dataclass
class AClass:
pass
class BClass:
pass
-
Move AClass to mod2.py
-
Expected code after refactoring:
mod1.py
class BClass:
pass
mod2.py
@dataclass
class AClass:
pass
- Describe the error or unexpected result that you are getting
mod1.py
@dataclass
class BClass:
pass
mod2.py
class AClass:
pass
Editor information (please complete the following information):
- Project Python version: 3.8.8
- Rope Python version: 3.8.8
- Rope version: 0.21.0
- Text editor/IDE and version: reproduced in tests
Metadata
Metadata
Assignees
Labels
affected-version:0.21bugUnexpected or incorrect user-visible behaviorUnexpected or incorrect user-visible behaviormove-refactor