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

Rename Field changes the import and adds a nonexistent name. Steps to reproduce the behavior: 1. Code before refactoring: ```python -- app.py from __future__ import print_function from compat import izip...

bug

Rename Field allows the use of the object datamodels names. Steps to reproduce the behavior: 1. Code before refactoring: ```python class Exemplo: texto = str def __init__(self): print("__init__ rodou") obj...

bug

The MoveField refactoring introduces a circular dependency. Steps to reproduce the behavior: 1. Code before refactoring: ```python -- input/a.py from b import B class A: def __init__(self): self.b = B()...

bug

The Inline Method removes an overridden method that changes the type of the stored objects. Steps to reproduce the behavior: 1. Code before refactoring: ```python class Word(str): def __new__(cls, value):...

bug

The Inline Method refactoring does not inline all the attributes, causing 'NameError' Steps to reproduce the behavior: 1. Code before refactoring: ```python _registry = {} def get_registry(): return _registry def...

bug

The Inline Method refactoring removed an import from the test file, causing an error when the test file is run. Steps to reproduce the behavior: 1. Code before refactoring: ```python...

bug

The extracted method was defined outside of class scope causing 'NameError' Steps to reproduce the behavior: 1. Code before refactoring: ```python class TSV: """TSV format. Assumes each row is of...

bug

# Description The system executable might be an externally managed environment[1], which means pip then refuses to uninstall the installed package, and it bubbles up as a teardown error. Use...

**Describe the bug** There seems to be a difference in the resolution of the module name in autoimport.sqlite and in autoimport.pickle. I don't know if this different logic was intentional...

bug

Hello! šŸ‘‹ I’m conducting a study on Python linters to better understand how developers select, use, and want to improve them. Since you use multiple linters (like Pylint or Black),...