rope icon indicating copy to clipboard operation
rope copied to clipboard

a python refactoring library

Results 162 rope issues
Sort by recently updated
recently updated
newest added

# Description Added a new setting (`imports.preferred_import_style`) that controls how rope inserts new import statements. It can be set to: - `normal-import` (default) which will insert imports as `import `...

The following series of tickets all have the same root cause, rope currently doesn't validate whether the target variable name is currently occupied by another existing variable: - [ ]...

enhancement
rename-refactor

Steps to reproduce the behavior: 1. Code before refactoring: ```python class Descriptor: def __get__(self, instance, owner): return 40 ``` 2. Apply the Rename Method refactoring to the method \_\_get\_\_. 3....

bug
rename-refactor

Inline method refactoring passes the wrong parameter to the inlined function body Steps to reproduce the behavior: 1. Code before refactoring: structure > -- en > ---- \_\_init.py\_\_ > ----...

bug
inline-refactor

Inline method refactoring changes field signatures and generates uninitialized variables Steps to reproduce the behavior: 1. Code before refactoring: ```python def _calculate_tk(source): def RL(a, b): for c in range(0, len(b)...

bug
inline-refactor

Inline method refactoring allows for rich comparison methods. It would be nice if Rope sent an alert to the user to avoid applying the transformation to rich comparison methods. Steps...

bug
inline-refactor

Inline method refactoring inserts an unexpected argument in the method call. Steps to reproduce the behavior: 1. Code before refactoring: structure: > -- main > ---- \_\_init\_\_.py > ---- blob.py...

bug
inline-refactor

Rename Method refactoring allowed for methods defined to implement container objects It would be nice if Rope sent an alert to the user to avoid incompatible parameter type errors when...

bug
rename-refactor

Steps to reproduce the behavior: 1. Code before refactoring: structure >-- main >---- base.py >-- test >---- test.py base.py: ```python from abc import abstractmethod, ABC class BaseTokenizer(ABC): @abstractmethod def tokenize(self,...

bug
rename-refactor

Rename Method refactoring is allowed to change the name of methods designed to emulate numeric operations. It would be nice if Rope sent an alert, as this transformation may cause...

bug
rename-refactor